Execute Commands: [root@hadoop102 mapreduce]# hadoop jar mapreduce2_maven.jar Filter
Error Messages:
Exception in thread "main" java.lang.ClassNotFoundException: Filter at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.apache.hadoop.util.RunJar.run(RunJar.java:311) at org.apache.hadoop.util.RunJar.main(RunJar.java:232)
Solution: change hadoop jar mapreduce2_maven.jar Filter to hadoop jar mapreduce2_maven.jar exper.
Reason: class path problem