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

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

,
Expert tip

Check if you didn't forget to instantiate your topic in the kafka broker.

,

This error comes up in the old version of spring-test , you should update tospring test 4.3.2

Solutions on the web

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/serde2/SerDe
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.shims.ShimLoader
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 org.apache.hadoop.hive.ql.io.orc.MemoryManager.(MemoryManager.java:83)
at org.apache.hadoop.hive.ql.io.orc.OrcFile.getMemoryManager(OrcFile.java:482)
at org.apache.hadoop.hive.ql.io.orc.OrcFile.access$000(OrcFile.java:34)
at org.apache.hadoop.hive.ql.io.orc.OrcFile$WriterOptions.(OrcFile.java:262)
at org.apache.hadoop.hive.ql.io.orc.OrcFile.writerOptions(OrcFile.java:418)
at gobblin.writer.OrcDataWriter.(OrcDataWriter.java:108)
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.