Details
Description
From mailing list ( https://groups.google.com/a/cloudera.org/forum/?fromgroups=#!topic/hue-user/4IEWQW3cSKA ):
thrift output:
13/03/27 09:17:51 ERROR thrift.ProcessFunction: Internal error processing query java.lang.ExceptionInInitializerError at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:202) at com.cloudera.beeswax.CleanableSessionState.<init>(CleanableSessionState.java:39) at com.cloudera.beeswax.BeeswaxServiceImpl$RunningQueryState.initialize(BeeswaxServiceImpl.java:297) at com.cloudera.beeswax.BeeswaxServiceImpl$2.run(BeeswaxServiceImpl.java:827) at com.cloudera.beeswax.BeeswaxServiceImpl$2.run(BeeswaxServiceImpl.java:823) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:396) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408) at com.cloudera.beeswax.BeeswaxServiceImpl.doWithState(BeeswaxServiceImpl.java:772) at com.cloudera.beeswax.BeeswaxServiceImpl.query(BeeswaxServiceImpl.java:822) at com.cloudera.beeswax.api.BeeswaxService$Processor$query.getResult(BeeswaxService.java:915) at com.cloudera.beeswax.api.BeeswaxService$Processor$query.getResult(BeeswaxService.java:899) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:128) at org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerGenericUDF(FunctionRegistry.java:523) at org.apache.hadoop.hive.ql.udf.rfiudf.RFIFunctionRegistry.registerAll(RFIFunctionRegistry.java:48) at org.apache.hadoop.hive.ql.exec.FunctionRegistry.<clinit>(FunctionRegistry.java:473) ... 18 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:126) ... 21 more Caused by: java.lang.NoClassDefFoundError: <Our own class1> at <Our own class2>.<init>(<Our own class2>:51) ... 26 more Caused by: java.lang.ClassNotFoundException: <Our own class1> at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 27 more
hive-site.xml:
<property>
<name>hive.aux.jars.path</name>
<value>file:///usr/lib/hive/auxlib/custom1.jar,file:///usr/lib/hive/auxlib/custom2.jar</value>
</property>