编译hadoop 1.0.3字数统计代码

时间:2012-07-26 14:36:35

标签: java hadoop word-count

ayush@ayush-PC:/usr/local/hadoop$ bin/hadoop jar /home/ayush/Desktop/Hadoop-     WordCount/wordcount.jar Wordcount input output
Exception in thread "main" java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createTempFile(File.java:1879)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:115)

我收到此错误。我使用的是jdk1.7和Hadoop1.0.3

任何人都可以告诉我们如何摆脱这个错误

0 个答案:

没有答案