返回信息流我输入的指令:
tseg@node0:~/hadoop$ bin/hadoop jar /home/tseg/psq/WordCount_fat.jar /home/tseg/ psq/WordCount/input /home/tseg/psq/wordcount/output
报的错:
Exception in thread "main" java.lang.IllegalArgumentException: Unable to locate com.simontuffs.onejar.Boot in the java.class.path: consider using -Done-jar.jar. path to specify the one-jar filename.
at com.simontuffs.onejar.Boot.getMyJarPath(Boot.java:400)
at com.simontuffs.onejar.Boot.run(Boot.java:212)
at com.simontuffs.onejar.Boot.main(Boot.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
at org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
这是一条镜像帖。来源:北邮人论坛 / java / #22245同步于 2012/4/23
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Java机器人发帖
在hadoop集群编译wordcount程序,发现运行出了问题,不知道是怎
soulpsq
2012/4/23镜像同步2 回复
订阅后,新回复会通过你的通知中心匿名送达。