java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/objectinspector/ObjectInspector

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via netty.io by Unknown author

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

,

I had to build one fat jar that will include all dependencies from the other jars that i wanted to use.

Solutions on the web

via Stack Overflow by Shafique Jamal
, 3 months ago
org/apache/hadoop/fs/GlobalStorageStatistics$StorageStatisticsProvider
via Google Groups by Lincoln, 3 months ago
org/mortbay/jetty/Connector
via yajsw by goulutor
, 1 year ago
org/apache/commons/cli2/Option
via Google Groups by mahesh, 4 months ago
org/jets3t/ service/security/ProviderCredentials
java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/objectinspector/ObjectInspector
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.hadoop.conf.Configuration.getClassByNameOrNull(Configuration.java:2138)
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2103)
at org.apache.hadoop.mapreduce.task.JobContextImpl.getInputFormatClass(JobContextImpl.java:184)
at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:301)
at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:321)
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:199)
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1307)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
at oracle.hadoop.loader.OraLoader.monitorAndPrintJob(OraLoader.java:881)
at oracle.hadoop.loader.OraLoader.run(OraLoader.java:594)
at oracle.hadoop.loader.OraLoader.run(OraLoader.java:425)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at oracle.hadoop.loader.OraLoader.main(OraLoader.java:1187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.