Re: Adding JAR in Hive classpath

2015-09-04 Thread Sathi Chowdhury
I had a similar problem with one of out udf libs using commons-lang3… The only way it worked was to create a fat jar with shaded class of and place it under hdfs …. How you will shade , an example below false

RE: Adding JAR in Hive classpath

2015-09-04 Thread Mich Talebzadeh
Put your JAR file ahead of HADDOP in CLASSPATH in your shell startup file unset CLASSPATH CLASSPATH=.:MYLIBRARY:$HADOOP_HOME/share/hadoop/common/hadoop-common-2.6.0- .. Or Rename version 3.1 under HADOOP_HOME\lib to something else, ensuring that is no longer in the CLASSPATH echo