ClassNotFoundException (win)
来源:5-8 提交流量统计案例到YARN上运行
IamJyeee
2020-02-09
[hadoop@hadoop000 lib]$ hadoop jar hadoop.jar com.bigdata.hadoop.mr.access.AccessYARNApp /access/input/access.log /access/output/
Exception in thread “main” java.lang.ClassNotFoundException: com.bigdata.hadoop.mr.access.AccessYARNApp
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
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:219)
at org.apache.hadoop.util.RunJar.main(RunJar.java:141)
2回答
-
hadoop jar hadoop.jar com.bigdata.hadoop.mr.access.AccessYARNApp /access/input/access.log /access/output/这命令是啥意思
072020-02-10 -
Michael_PK
2020-02-09
ClassNotFoundException,你确认下那个类打到jar里面去了吗
012020-02-09
相似问题