Eclipse Hadoop Development ENV Construction

本文介绍如何在Ubuntu 12.04环境下安装Eclipse,并创建桌面快捷方式,下载必要的Hadoop插件,配置Hadoop开发环境,以及导入Hadoop项目到Eclipse中的两种方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 ENV: Ubuntu 12.04 

1. Install Eclipse

2. create desktop shortcut for Eclipse

    a. create an empty document named eclipse.xx

    b. edit eclipse.xx like followings (avoid failing to open eclipse memu Items)

  

[Desktop Entry]
Categories=Development;
Comment[zh_CN]=
Comment=
Exec=/home/zhaohj/soft/eclipse
GenericName[zh_CN]=IDE
GenericName=IDE
Icon=/home/zhaohj/soft/eclipse/icon.xpm
MimeType=
Name[zh_CN]=eclipse
Name=eclipse
Path=
StartupNotify=true
Terminal=false
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=owen
Exec=env UBUNTU_MENUPROXY= /home/zhaohj/soft/eclipse/eclipse

 

 

 c. download plugins for hadoop  hadoop-eclipse-kepler-plugin-2.2.0.jar (google it to find the download address ) and put it to eclipse's plugins dir

 d.Configure Hadoop in eclipse

   

 

configure DFS Location



 

import hadoop project to eclipse

method one: http://www.superwu.cn/2013/08/04/355/

method two:

#mvn eclipse:eclipse -DskipTests   //convert maven project to eclipse project

then import existed project to eclipse

 

References

https://developer.yahoo.com/hadoop/tutorial/module3.html#eclipse

http://blog.cloudera.com/blog/2009/04/configuring-eclipse-for-hadoop-development-a-screencast/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值