...
Command | Description | |||
---|---|---|---|---|
quit | 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). | |||
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="62b188b5-7014-45e8-bdb9-038e54e5ebcb"><ac:plain-text-body><![CDATA[ | add FILE[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="2eaf6287-7747-4760-b94a-dd675cbae74e"><ac:plain-text-body><![CDATA[ |
list FILE[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="c4d01905-f2bc-434e-986e-21a4cc1fc82e"><ac:plain-text-body><![CDATA[ | |
list FILE[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="bc152aca-05c7-4a53-93e9-ba6a03d0dc30"><ac:plain-text-body><![CDATA[ | |
delete FILE[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. | |||
compile `<groovy string>` AS GROOVY NAMED <name> | This allows inline Groovy code to be compiled and be used as a UDF (as of Hive 0.13.0) |
...