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="2d071b1fbe2f03eb-90778e98-43984dc6-b5478423-96457671942f4e4e8544156c"><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="2752fb4a5110477c-2838f764-418e45d8-923f93a1-09fe332dd9eda29871b02adf"><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="aa0d6c467237637e-b280f491-43f34983-8c3180a0-5986032f3fae9aaeacafec60"><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="7fe25cf3e36a40e2-5a0cda8e-48134040-88008d92-fe051166937e226e6a3c2c62"><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="0491033fcc9e1f98-7de6b011-483e4850-92898dff-5f356ba7d1c0c6cddee667fb"><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="ec68484aa35422a8-d440a98d-450e4c67-959d9e87-dca141921c4ad0a2811359b8"><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="950f76e454faf332-f13bd6d7-4cb84495-8b059936-438ee798acd016658cc59b62"><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="c73a6077d1d5adc1-e34fa1be-41af467c-859cb6a9-9ae42c16959c08de4f15dde4"><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="12360637eb5aaa28-9ac4a7c5-48d64cfb-b0508248-8012ab0f33f034324cee8cbf"><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="d522d78b93c1936f-f19cda91-4238449e-8ce681b9-17849001c949b7cf634e7e10"><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="168d684d5270ce04-feb47c0b-44034795-a6709bee-5aa42baafe9d197f9e07be12"><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="30d3ee17e115dbde-474686ad-46854fd8-9ed49cbb-318fe39509f5c527d383024f"><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. |