MapReduce程序实现词频统计
- 实验目的
1) 理解Hadoop中MapReduce模块的处理逻辑;
2)熟悉MapReduce编程;
- 实验平台
操作系统:Linux
工具:Eclipse或者Intellij Idea等Java IDE
- 实验内容
1) 在电脑上新建文件夹input,并input文件夹中创建三个文本文件:file1.txt,file2.txt,file3.txt。三个文本文件的内容分别是:
file1.txt: hello dblab world
file2.txt: hello dblab hadoop
file3.txt: hello mapreduce