The problem is :java.lang.ClassNotFoundException: Test_2
the jar file is compiled on shell,but if I export the jar from Eclipse,there is no any problem.
and the job can run normally.
What's the matter???
Shell record:
[hadoop@Client ~]$ hadoop jar test2.jar Test_2 Rtest2 22o hadoop
Exception in thread "main" java.lang.ClassNotFoundException: Test_2
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.hadoop.util.RunJar.main(RunJar.java:149)