Linux下伪分布模式的Hadoop部署(2)

[zjy@asc-150-10 hadoop]$ mkdir wordcount
[zjy@asc-150-10 hadoop]$ javac  -classpath hadoop-0.19.1-dev-4966-4780-core.jar -d wordcount src/examples/org/apache/hadoop/examples/WordCount.java
[zjy@asc-150-10 hadoop]$ jar -cvf ./wordcount.jar -C wordcount/ .
[zjy@asc-150-10 hadoop]$ hadoop jar /home/zjy/hadoop/wordcount.jar org.apache.hadoop.examples.WordCount input output

#####################################################################################

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/ppyxp.html