标签:cin code apr jar 结果 -- bsp dir img
1、在hadoop-2.9.2目录下新建一个wcinput:mkdir wcinput
2、在wcinput下新建一个文件:touch wc.input
3、vim wc.input,在wc.input中输入:
hadoop yarn
hadoop mapreduce
gong
gong
4、回到hadoop-2.9.2目录下,输入:hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-2.9.2.jar wordcount wcinput wcoutput
5、查看结果
标签:cin code apr jar 结果 -- bsp dir img
原文地址:https://www.cnblogs.com/xiximayou/p/12388911.html