天天看點

hadoop之WordCount

[[email protected] hadoop-3.1.2]# hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.2.jar wordcount wcinput/ wcoutput

執行結果:

看輸出檔案裡 每個word多少次。。。

繼續閱讀