AnsweredAssumed Answered

NoClassDefFoundError DirectFileOutputCommitter while submitting map-reduce job

Question asked by anup on Dec 25, 2013
Latest reply on Feb 19, 2015 by snayeem
I have created two version for reading the data from M7, one by using the hbase API and another by using map-reduce (TableMapReduceUtil).

I created the jar by using M7 classes and able to read data successfully but when I am using the map-reduce, I am getting the below error:

<pre>
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/mapreduce/lib/output/DirectFileOutputCommitter
        at com.aexp.ims.cmph4.RowCounter.run(RowCounter.java:84)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
........
........
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.mapreduce.lib.output.DirectFileOutputCommitter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

</pre>

I try to find out this class in hadoop and M7 jars but not able to find out. Any suggestions.



    

Outcomes