Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.14.0
-
None
-
None
-
ubuntu 18
Description
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang/builder/HashCodeBuilder
at org.apache.crunch.io.impl.FileTargetImpl.hashCode(FileTargetImpl.java:214)
at java.util.HashMap.hash(HashMap.java:339)
at java.util.HashMap.put(HashMap.java:612)
at java.util.HashSet.add(HashSet.java:220)
at org.apache.crunch.impl.dist.DistributedPipeline.addOutput(DistributedPipeline.java:170)
at org.apache.crunch.impl.dist.DistributedPipeline.write(DistributedPipeline.java:154)
at org.apache.crunch.impl.dist.DistributedPipeline.write(DistributedPipeline.java:128)
at org.apache.crunch.impl.dist.collect.PCollectionImpl.write(PCollectionImpl.java:160)
at org.apache.crunch.impl.dist.DistributedPipeline.writeTextFile(DistributedPipeline.java:296)
at com.example.WordCount.run(WordCount.java:57)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at com.example.WordCount.main(WordCount.java:22)
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:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
at org.apache.hadoop.util.RunJar.main(RunJar.java:236)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.builder.HashCodeBuilder
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 18 more