Hadoop2.6和eclipse整合开发配置编译hadoop
eclipse插件git
clone https://github.com/winghc/hadoop2x-eclipse-plugin.git然后使用ant进行编译 cd
src/contrib/eclipse-pluginant jar -Dversion=2.6.0 -Declipse.home=/usr/local/eclipse -Dhadoop.home=/usr/local/hadoop-2.6.0 //需要手动安装的eclipse,通过命令行一键安装的不行
eclipse.home和hadoop.home设置成你自己的环境路径
生成的位置是:/home/hunter/hadoop2x-eclipse-plugin/build/contrib/eclipse-plugin/hadoop-eclipse-plugin-2.6.0.jar