Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> difference between add jar in hive session and hive --auxpath

Copy link to this message
difference between add jar in hive session and hive --auxpath

I have a hive table which uses the jar file provided from the elephant-bird, which is a framework integrated between lzo and google protobuf data and hadoop/hive.
If I use the hive command like this:
hive --auxpath path_to_jars, it works fine to query my table,
but if I use the add jar after I started the hive session, I will get ClassNotFoundException in the runtime of my query of the classes in those jars.
My questions are:
1) What is the different between hive --auxpath and "add jar" in the hive session?2) This problem makes it is hard to access my table in the HUE, as it only supports "add jar", but not --auxpath option. Any suggestions?

Venkatesh Kavuluri 2013-03-08, 00:44
java8964 java8964 2013-03-08, 17:53
Dean Wampler 2013-03-08, 18:01
Edward Capriolo 2013-03-08, 18:25
Ramki Palle 2013-03-09, 17:32
Edward Capriolo 2013-03-09, 17:58