1.在mapreduce下新建一个text.txt文件
2.在hdfs上新建输入输出文件夹
3.把text.txt上传到hdfs的input目录中
4.计算
5.显示结果
来源:http://daohang.1994july.club/