eclipse中集成hadoop插件


1.下載並安裝eclipse
2.https://github.com/winghc/hadoop2x-eclipse-plugin
3.下載插件到eclipse的插件目錄 

 

 

4.配置hadoop安裝目錄
 打開eclipse
window ->preference -> hadoop Map/Reduce -> Hadoop installation directory

 

 

5.配置Map/Reduce視圖
window ->Open Perspective -> other->Map/Reduce -> 點擊“OK”

 


windows → show view → other->Map/Reduce Locations-> 點擊“OK”

 

 

 


6.在“Map/Reduce Locations” Tab頁 點擊圖標<大象+>或者在空白的地方右鍵,選擇“New Hadoop location…”,彈出對話框“New hadoop location…”,
進行相應配置

 

 


MR Master和DFS Master配置必須和mapred-site.xml和core-site.xml等配置文件一致

 

 

 

7.打開Project Explorer,查看DS文件系統。

8.新建MapReduce任務 前提是 啟動了 hadoop

 File->New->project->Map/Reduce Project->Next

 

 

 

 

 

 


 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM