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="1b1194f0412d13d8-eb5d08ef-44eb44a7-acbf99a3-35e72bec245818b63e28c749"><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="804da55b2b45d546-8e3edbbb-4bcb4fb9-abb6af06-43007b41a75f3819608872ea"><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="07ee03f5240d7cb0-71f67cf8-49af4831-a1efb848-e79c0ac7ed6e86382e211e56"><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="c30d3d5e0f0bac83-f7314584-475c4e51-adc8ad36-b374eacf4b09c5d32003ea5e"><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="18453e81e84fd55b-786c3bb1-420a4438-90e49ff7-1e9cb34f96c6e6b6195a5b10"><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="715fb735fcd7b12a-06ca4eb6-4c2643bf-b2939d49-0e203bab204430877e5cc97a"><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="2d9f48802e9c3953-aa070d8a-470d43a4-83e3b78f-8e63504454868d542161d747"><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="99cf106ccb726469-21eef5aa-4d9a42c3-b611b709-a13ba574b335631a187a9d3f"><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="0c4aaf9465756cce-4d3397cc-4dfb47c3-a0b8b9b4-c07e39d4ce3bee022791c2dc"><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="4bb67d547bb5860f-3e7f675f-465c4750-a787826e-de17857f997d08b6fe6251de"><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="8e07decec4680936-04baf299-41dd4e78-a0ed9bec-ceca4f4137a3cf324e3ed7d4"><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="3fb4b98a3a7ca5b8-d38d0c1e-4e4d46b4-b76ba24b-eb8364b3343096ddc256b8c2"><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. |