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="1258039fd57c9344-5f3e7995-4f484009-abc193df-28444215b8cebbe8267c6cec"><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="79c50f4547664118-2943a677-4bfb4c13-a695a964-81fd9fc9d251fbc877f6258d"><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="de20f4489ceb7605-c8396225-410742a4-99d09ff6-b838de8eadc0cc3d50aa2fa8"><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="4bbe9de402f9bff2-481bcb4b-4212462f-8129b00b-ee884f5cfbfb52b379a0a696"><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="db640acfd502dcd6-e0d9a2b9-47bd4b99-8dd9aa2e-a51fd02a986d1e42063124fa"><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="f30a6cee878c08be-33dadbe9-49e742e5-b3328e46-c94a8c0a1bfc7a80168e60d5"><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="dd4606b45a0ad18a-abee2636-48cb4ca2-94a2bb87-ceb6c88a194649152947beb4"><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="76ef9d1dda3fb510-6bee13fc-4a9d4c14-8ba29a59-af0160454c2e26b5ce23b056"><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="15ff62e69666b187-bd5218ef-48cf4b8c-9cb4ac17-827818c26a148b345fafabb0"><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="cc58396bbb589b7f-c50ad8e2-42a54cac-a4968ff4-b6868c6087ac2a8b75783755"><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="9a026205b04a4511-ceeb4ea1-4f8b41e1-a55e80ad-abc5c281b67af8d916efb295"><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="7dd82881c11bd37a-962393bc-42d94e66-88e7ba27-cbfeb3922eaf9e5e0bea089a"><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. |