标签:
1、打开https://github.com/winghc/
点击右下角的下载zip
完成后进行解压
2、打开命令行
cd /hadoop2.6.0-eclipse-plugin/src/contrib/eclipse-plugin
3、执行如下命令,执行前需修改eclipse的路径和hadoop的路径
ant jar -Dversion=2.6.0 -Declipse.home=/usr/local/eclipse -Dhadoop.home=/usr/local/hadoop
。。。执行时间比较久,需要好几分钟,在ivy-resolve-common:停留的时间会比较久
4、将生成的hadoop-eclipse-plugin-2.6.0.jar复制到eclipse插件目录下
5、启动eclipse
6、配置 hadoop 安装目录
window ->preference -> hadoop Map/Reduce -> Hadoop installation directory
7、配置Map/Reduce 视图
window ->Open Perspective -> other->Map/Reduce -> 点击“OK”
windows → show view → other->Map/Reduce Locations-> 点击“OK”
配置完成
64位Ubuntu14.04编译hadoop2.6.0-eclipse-plugin
标签:
原文地址:http://www.cnblogs.com/yulijunzj/p/4267373.html