How to run a jar file in hadoop?
I was able to reproduce your problem. The problem is where you are creating the jar. Basically, the directory that you are packaging into the jar is confusing the jar file in locating the main class file. Instead if you try doing : /usr/lib/jvm/jdk1.7.0_07/bin/jar cf Dictionary.jar /home/hduser/dir/Dictionary.class i.e. package the class file specifically into the … Read more