- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
uring insert into hive hbase table the vertex is failing classnotfoundexception,could anybody guide where to add jar to avoid this exception
- Labels:
-
Apache Hive
Created ‎12-22-2016 05:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.hbase.HiveHFileOutputFormat at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.apache.hive.com.esotericsoftware.kryo.util.DefaultClassResolver.readName(DefaultClassResolver.java:136)
Created ‎12-22-2016 05:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try adding these jars in hive aux jars or at session level using add jar option and see if it helps
hive-hbase-handler-*.jar
hbase-client-*.jar
ADD JAR /usr/hdp/current/hive-client/lib/hive-hbase-handler-*.jar;
ADD JAR /usr/hdp/2.3.2.0-2950/hbase/lib/hbase-client-*.jar ;
Created ‎12-22-2016 05:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
try adding these jars in hive aux jars or at session level using add jar option and see if it helps
hive-hbase-handler-*.jar
hbase-client-*.jar
ADD JAR /usr/hdp/current/hive-client/lib/hive-hbase-handler-*.jar;
ADD JAR /usr/hdp/2.3.2.0-2950/hbase/lib/hbase-client-*.jar ;
