Hello everyone, I am getting some issues when compiling a map-reduce program similar to wordcount example.
I followed the instruction in the tutorial and succeeded to compile a jar file. The problem won't appear until I run it as below: had...@lobo:/osr/Projects/anansi/mrjobs/src$ /osr/Projects/anansi/hadoop/bin/hadoop jar ./hadoop_out_degree.jar may_24 outout1/ java.lang.ClassNotFoundException: may_24 at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.util.RunJar.main(RunJar.java:148) at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220) The folder 'may_24' is definitely there, I am not sure whether I missing something when compile, do I have to add manifest file in the class folders ? also I am confused about the error info. Could anyone give me some idea ? Thanks in advance, -KUn