com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/SerDe

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 askubuntu.com by Unknown author

Set the path for java. Try to look it from here.

,
Expert tip

You might've forgot to add a dependency or it's written wrong. Also, you might be using incompatible versions of Java and Hibernate. More on this here: https://goo.gl/SjSlRA

Solutions on the web

via GitHub by krtiwari1981
, 1 year ago
java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/SerDe
via GitHub by krtiwari1981
, 1 year ago
java.lang.NoClassDefFoundError: org/apache/hadoop/hive/shims/ShimLoader
via GitHub by krtiwari1981
, 1 year ago
java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/io/orc/OrcSerde
via Stack Overflow by Amadeu Cabanilles
, 10 months ago
via Stack Overflow by Vinod
, 1 year ago
java.lang.NoClassDefFoundError: org/jboss/netty/channel/ReceiveBufferSizePredictorFactory
via Eclipse Bugzilla by vineetha_anavankot, 1 year ago
java.lang.NoClassDefFoundError : org/jfree/chart/axis/CategoryAxis
java.lang.ClassNotFoundException: org.apache.hadoop.hive.serde2.SerDe
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at gobblin.writer.OrcDataWriter.(OrcDataWriter.java:102)
at gobblin.writer.OrcWriterBuilder.build(OrcWriterBuilder.java:9)
at gobblin.writer.PartitionedDataWriter.createPartitionWriter(PartitionedDataWriter.java:174)
at gobblin.writer.PartitionedDataWriter.access$000(PartitionedDataWriter.java:49)
at gobblin.writer.PartitionedDataWriter$1.load(PartitionedDataWriter.java:70)
at gobblin.writer.PartitionedDataWriter$1.load(PartitionedDataWriter.java:66)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3522)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2315)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2278)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2193)
at com.google.common.cache.LocalCache.get(LocalCache.java:3932)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3936)
at gobblin.writer.PartitionedDataWriter.write(PartitionedDataWriter.java:107)
at gobblin.runtime.Fork.processRecords(Fork.java:400)
at gobblin.runtime.Fork.run(Fork.java:168)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 3 weeks ago
Once, 1 month ago
Once, 1 month ago
5 times, 1 month ago
Once, 2 months ago

Write tip

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