eclipse中集成hadoop插件
阿新 • • 發佈:2017-06-29
eclips 新建 bsp ive win hadoop安裝 系統 new 集成
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
eclipse中集成hadoop插件