ClassNotFoundException while running jar file
Hi, I wanted to run my own java code in hadoop. The following are the commands that I executed and errors occurred. mkdir temp javac -Xlint -classpath hadoop-0.16.0-core.jar -d temp GetFeatures.java (GetFeatures.java is the code) jar -cvf temp.jar temp bin/hadoop jar
Re: ClassNotFoundException while running jar file
You need to add your class or a class in your jar to the constructor for your JobConf object. ? ? JobConf(Class exampleClass) ? ? Construct a map/reduce job configuration. ?