【注】关闭window的防火墙
1. 安装开发hadoop插件
将hadoop安装包hadoop-eclipse-plugin-2.7.3拷贝到eclipse的插件目录plugins下。
插件百度云地址:http://pan.baidu.com/s/1dEXywz3
重启eclipse,打开windows->open perspective->other->map/reduce 可以看到map/reduce开发视图。
2.把hadoop原生包解压一份放在磁盘上。我是用的是hadoop-2.6.0-cdh5.9.0.tar.gz
如图:

3.
打开windows->show view->other-> map/reduce Locations视图,在控制台新建hadoop location
(1)

(2)
在Advanced parameters中把0.0.0.0 全部改成 192.168.18.171 (即hadoop 主节点的IP)

4.查看效果
