Hive Distributed Cache
There are 3 ways to add files in distributed cache
1) Hive Shell
To add hiveQL script files
To add jar files
To add zip files
To list all files
To list all jar files
To list all zip files
To delete all zip files
2) hive-env.sh
3) hive-site.xml
Please share this blog post and follow me for latest updates on
There are 3 ways to add files in distributed cache
1) Hive Shell
To add hiveQL script files
hive> ADD FILE /home/hduser/Desktop/HIVE/wordcount.hql;
hive> ADD JAR /.jar;
hive> ADD ARCHIVE /.zip;
hive> LIST FILES;
hive> LIST JARS;
hive> LIST ARCHIVES;
hive> DELETE ARCHIVE /.ZIP;
hive-env.sh
export HIVE_AUX_JARS_PATH="/home/user/AutoIncrementUDF.jar"
hive-site.xml
<property> <name>hive.aux.jars.path</name> <value>file:///home/user/AutoIncrementUDF.jar</value> </property>
Comments
Post a Comment