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="f98152fb94e70c13-b5bb70b2-4e204b97-95029608-0e8aac4f3972fef50baaa521"><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="a44f72f89f929b75-e8bdcbda-46994fcf-9b43a8e4-7a1fd89807368c813decd998"><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="53e60f7871ef34f7-3f2ad86d-4dea4fc1-92e4a589-36152ac5c01d162e473636b0"><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="08b2140695498e6a-4c5f7199-4ad44722-8bddb9a5-b57b1bfc9c5b18950c0a02d9"><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="9997b92ed000f62a-70b631ef-451341bf-9cebb362-54f8399f7d2362d46271ada7"><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="c0d7329ac5d400af-ec7080f5-44364314-990cbb45-829551767fe029c487b293be"><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="eeaa31946d9fa653-6b723f1d-48ef431c-aa23a463-da7f66d9d808448b55b01f83"><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="e9ffba69ad474d7b-86a44353-47674581-b4b093bf-5fc4a1ae667b6bf8daa758ec"><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="4a0c7f79e0e62466-29fc464f-49f84757-a4018f49-fa97626c01fd38eabd9414ab"><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="b1075c8da8cdc407-ecba2976-416e487e-a92eb6bb-7c855de7fd0c9308afc9ec6d"><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="eed9082e7b323683-5d0ff35f-455644ba-8ca5a4ab-2f060d81a502341824d071ef"><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="190e13c97fdb0998-9961fac7-4e364ffc-b5009e94-bf160a820c0a1f09df58aecd"><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. |