Hadoop中eclipse 外掛程式的編譯 筆記四

2021-07-05 22:04:58 字數 1220 閱讀 6515

hadoop中

eclipse 

外掛程式的編譯 修改

注掉 新增import

在修改  hadoop-0.20.2\src\contrib\build-contrib.xml 

加入 name="version"

value="0.20.2"

/>

name="eclipse.home"

location="d:/

tools/

eclipse"

/>

將hadoop-0.20.2下的hadoop-0.20.2-core.jar包拷到eclipse的plugins目錄下。 

在修改  hadoop-0.20.2\src\contrib\eclipse-plugin\build.xml 

id="eclipse-sdk-jars"

>

dir="$/plugins/"

>

name="hadoop*.jar"

/>

cd到hadoop-0.20.2\src\contrib\eclipse-plugin下使用ant 編譯

編譯成功後會在hadoop-0.20.2\build\contrib\eclipse-plugin下

生成hadoop-0.20.2-eclipse-plugin.jar

hadoop執行

eclipse

中的**

將編譯生成的hadoop-0.20.2-eclipse-plugin.jar放到eclpipse

的plugins

目錄下,

開啟eclipse

會看到

在windows-->hadoop map/reduce

中新增hadoop

的安裝目錄

windows--->show view--->mapreduce tools-->map/reduce locations

在map/reduce location

中右健-->new hadoop location 

設定如下

location名稱隨意

map/reduct master

與( mapred-site.xml

和hdfs-site.xml)

的配置相同

右擊重新整理

新建專案

file-->new--->project-->map/reduce project

eclipse安裝freemarker外掛程式

解壓,把features和plugins的東東加到elispe的features和plugins下,重啟eclispe 還要把以前開啟的頁面全部關閉,重新開啟就可以了 第二種方式 help software updates find and install.choose search for new...

eclipse安裝freemarker外掛程式

手動安裝沒有成功 步驟 3.修改hudson.freemarker ide 0.9.14 meta inf manifest.mf檔案 4.將hudson.freemarker ide 0.9.14資料夾複製到eclispe的plugin資料夾下,重啟eclipse。成功步驟 1.help inst...

eclipse安裝apringboot外掛程式

安裝spring springsource tool suite 3.7.3.release e4.5.2 updatesite.zip springsource tool suite 3.9.5.release e4.7.3a updatesite.zip springsource tool su...