运行Hadoop自带的wordcount单词统计程序
1.使用示例程序实现单词统计 (1)wordcount程序 wordcount程序在hadoop的share目录下,如下: 1 2 3 4 5 6 7 8 9 [root@leafmapreduce] #pwd /usr/local/hadoop/share/hadoop/mapreduce [root@leafmapreduce] #ls hadoop-mapreduce-client-app-2.6.5.jarhadoop-mapreduce-client-jobclient-2.6.5-tests.jar hadoop-mapreduce-client-common-2.6.5.jarhadoop-mapreduce-client-shuffle-2.6.5.jar hadoop-mapreduce-client-core-2.6.5.jarhadoop-mapreduce-examples-2.6.5.jar hadoop-mapreduce-client-hs-2.6.5.jarlib hadoop-mapreduce-client-hs-plugins-2.6.5.ja...