编译hadoop2.2.0的eclipse插件流程总结

1. 下载插件代码:

http://pan.baidu.com/s/1kT0xz3T


2. 编译插件:

确保安装配置好了jdk、ant,下载好了eclipse、hadoop:

解压插件代码后进入目录:

hadoop2x-eclipse-plugin-master/src/contrib/eclipse-plugin

进行编译(修改成自己的eclipse.home和hadoop.home):

ant jar -Dversion=2.2.0 -Declipse.home=/usr/eclipse -Dhadoop.home=/home/hadoop/ha/hadoop-2.2.0


之后就可以在hadoop2x-eclipse-plugin-master/build/contrib/eclipse-plugin/下找到编译好的jar文件了:

hadoop-eclipse-plugin-2.2.0.jar


3. 把插件复制到eclipse/plugins/下面,重启eclipse,进行配置即可


4. 若发现无法连接到hdfs,请将配置的localhost改为127.0.0.1,或其它ip地址。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值