實作十二:
Hadoop Map Reduce 運算
目標:字數統計
- 原本內容
No way is my way .
- 分析過後
No 1 Way 2 is 1 my 1 . 1
操作
- 執行運算
$ hadoop jar /usr/lib/hadoop/hadoop-0.18.3-4cloudera0.3.0-examples.jar wordcount hello hot
- 觀看結果
$ hadoop dfs -cat hot/part-00000
Last modified 15 years ago
Last modified on Jul 11, 2009, 2:34:24 AM