狂欢‰一夜 发表于 2016-12-5 09:38:52

Eclipse Hadoop Development ENV Construction

  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)


Categories=Development;
Comment=
Comment=
Exec=/home/zhaohj/soft/eclipse
GenericName=IDE
GenericName=IDE
Icon=/home/zhaohj/soft/eclipse/icon.xpm
MimeType=
Name=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/
页: [1]
查看完整版本: Eclipse Hadoop Development ENV Construction