MapReduce编程示例

1.将hadoop插件放入eclipse/plugins目录中

image

2.eclipse配置hadoop 依赖包目录

Window—Preferences

image

3.新建Map/Reduce Project项目

image

4.显示Map/Reduce Locations 窗口

image

5.配置Hadoop服务器

image

image

6.新建java Project

image

7.导入hadoop依赖包

image

8.编写MapReduce程序,显示HDFS中的文件

image

原文地址:https://www.cnblogs.com/bincoding/p/5545490.html