Command | Description |
---|
quit exit | Use quit or exit to leave the interactive shell. |
reset | Resets the configuration to the default values (as of Hive 0.10: see HIVE-3202). |
set <key>=<value> | Sets the value of a particular configuration variable (key). Note: If you misspell the variable name, the CLI will not show an error. |
set | Prints a list of configuration variables that are overridden by the user or Hive. |
set -v | Prints all Hadoop and Hive configuration variables. |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="5ce6c872b92c1632-9968b6d6-46bc42ff-bbf7a895-a35aa6396b8178eff6b52554"><ac:plain-text-body><![CDATA[ | add FILE[S] <filepath> <filepath>* ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8bf28f6b83fc3223-86198397-4c1745c0-a9f4a534-876c34709e5f787c92322248"><ac:plain-text-body><![CDATA[add JAR[S] <filepath> <filepath>* ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="adcc7ea3f16a2ff3-0df89486-46324637-aac88886-237dd9ab50010b9d9c3c591a"><ac:plain-text-body><![CDATA[add ARCHIVE[S] <filepath> <filepath>* | Adds one or more files, jars, or archives to the list of resources in the distributed cache. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="aa8de91959e8ccd2-70b447bd-478c4cdc-84e9ad2f-29e42766ad4e686640faeaa5"><ac:plain-text-body><![CDATA[ | list FILE[S] ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="777ad05ae39d0ef2-2cc1ca5e-45f84386-a187b725-5c07ffcd1a3900399ab95e9f"><ac:plain-text-body><![CDATA[list JAR[S] ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="28bdc4fdca3feac2-79d1a096-42714299-8b02b5f9-13d81d1016b2fb97163006bf"><ac:plain-text-body><![CDATA[list ARCHIVE[S] | Lists the resources already added to the distributed cache. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c219300b67a0a950-a0b2bb65-432e4d6d-9764b7d4-74f5ef7fe14a143cf90032b5"><ac:plain-text-body><![CDATA[ | list FILE[S] <filepath>* ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="02569e2eeeae0a6f-00709aa1-40c24ad5-bfe09d09-a08a7d9555a88b8c4eaf16db"><ac:plain-text-body><![CDATA[list JAR[S] <filepath>* ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6838f047f3595ff8-31a347dc-4a624192-ad75b5c9-0e0aba5202d907d6dc854a3e"><ac:plain-text-body><![CDATA[list ARCHIVE[S] <filepath>* | Checks whether the given resources are already added to the distributed cache or not. | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="f4a3c890f164c86c-6762aad6-4dd84057-8be39eb7-3f35dac48e6cddb8281b9b90"><ac:plain-text-body><![CDATA[ | delete FILE[S] <filepath>* ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="0e290096aa3c920a-cacf4185-40bc488f-aaea94e6-e305d00b5c675d7b5018e722"><ac:plain-text-body><![CDATA[delete JAR[S] <filepath>* ]]></ac:plain-text-body></ac:structured-macro> <ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a0b298402267d712-83bd8997-4f3e43e1-ab078d1a-18a6510e1d0a4b3b05801c59"><ac:plain-text-body><![CDATA[delete ARCHIVE[S] <filepath>* | Removes the resource(s) from the distributed cache. | ]]></ac:plain-text-body></ac:structured-macro> |
! <command> | Executes a shell command from the Hive shell. |
dfs <dfs command> | Executes a dfs command from the Hive shell. |
<query string> | Executes a Hive query and prints results to standard output. |
source FILE <filepath> | Executes a script file inside the CLI. |