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

posted @ 2016-05-31 12:41  致林  阅读(231)  评论(0)    收藏  举报