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
Similar Posts:
- [How to Solve] Hive: Unsupported major.minor version 51.0
- [Solved] Hadoop Error: Input path does not exist: hdfs://Master:9000/user/hadoop/input
- [Java. Lang. unsupported classversionerror] version inconsistency error
- [Solved] Hadoop running jar package error: java.lang.exception: java.lang.arrayindexoutofboundsexception: 1
- [Solved] MVN – version error: Exception in thread “main” java.lang.UnsupportedClassVersionError
- java.lang.NoClassDefFoundError: org/hamcrest/SelfDescribing
- IDEA uses sonarlint error [How to Solve]
- Hive Start Error: Exception in thread “main” java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgumen
- Error reported by feign component of springcloud microservice
- [Solved] java.lang.IllegalStateException: Failed to introspect Class xxxx