THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Using the set command in the cli for setting session level values for the configuration variable for all statements subsequent to the set command. e.g.
sets the scratch directory (which is used by hive to store temporary output and plans) toCode Blocknoformat set hive.exec.scratchdir=/tmp/mydir;
/tmp/mydir
for all subseq - Using
-hiveconf
option on the cli for the entire session. e.g.Code Blocknoformat bin/hive -hiveconf hive.exec.scratchdir=/tmp/mydir
- In
hive-site.xml
. This is used for setting values for the entire Hive configuration. e.g.Code Block xml xmlNo Format <property> <name>hive.exec.scratchdir</name> <value>/tmp/mydir</value> <description>Scratch space for Hive jobs</description> </property>
...