欢迎来到天天文库
浏览记录
ID:34614007
大小:512.99 KB
页数:3页
时间:2019-03-08
《Install Hadoop for Eclipse.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、AUTHOR:KOCHILIN!!HADOOPInstallHadoopforEclipse1.InstalltoolforHadoopusing•ApacheHadoop:http://archive.apache.org/dist/hadoop/core/hadoop-0.20.2/hadoop-0.20.2.tar.gz•ApacheForrest:http://archive.apache.org/dist/forrest/0.8/apache-forrest-0.8.tar.gz•ApacheAnt:http://ftp.mirror.tw/pub/apache//ant/
2、binaries/apache-ant-1.8.4-bin.tar.gz•OracleJDK1.5•Eclipseversion3.5Galileo2.BuildingEclipseplugin(Veryimportant)Accordingtoyourdevelopenvironment,sotheEclipseversionandHadoopversionhaveveryclosedrelationtoyourpluginwhenyouwannatouseit.Andit'sspendyoualotoftimewhenyoutrytouseeclipseplugintoconne
3、ctHadoop.IfyourHadoopversionbefore0.20.2,youcanfindouttheversioninthe/contrib/eclipse-plugin/hadoop-${version}-eclipse-plugin.jar.Oryoucanbuildyourowneclipsepluginsuitableforyourenvironment:Inthepath:/home/kochi/hadoop/(Don’tlostinthepath)$antcompile-Djava5.home=/home/kochi/jdk1.5.0_22-Dforrest.
4、home=/home/kochi/forrest-Declipse.home=/home/kochi/eclipse-Dversion=0.20.2AfterANTcompilesuccessfulthenANTpackageit.$antpackage-Djava5.home=/home/kochi/jdk1.5.0_22-Dforrest.home=/home/kochi/forrest-Declipse.home=/home/kochi/eclipse-Dversion=0.20.2AfterANTpackageit,youcanfindtheeclipse-pluginjarfi
5、leinyourfolderlocation:/hadoop-0.20.2/build/contrib/eclipse-plugin.Youcancopythisjarto$eclipse_home/plugin3.StartEclipseandopenaperspectivewindowYoucanseeyoualreadyconnecttolocalhosttmpdirectoryinyourDFSLocations.PAGE1OF3!!2012/10/18AUTHOR:KOCHILIN!!HADOOPPAGE2OF3!!2012/10/18AUTHOR:KOCHILIN!!HA
6、DOOPYoucanseeyoualreadyconnecttolocalhosttmpdirectoryinyourDFSLocations.PAGE3OF3!!2012/10/18
此文档下载收益归作者所有