2014-01-21 23 views
0
===================Below is the error============================ 

[INFO] Building jar: 
/home/rob/dev/apache/giraph-trunk/giraph/giraph-core/target/giraph-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar 


[INFO] Total time: 1:12.383s 
[INFO] Finished at: Mon Jan 20 17:25:46 PST 2014 
[INFO] Final Memory: 31M/119M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal on project giraph-examples: Could not 
resolve dependencies for project 
org.apache.giraph:giraph-examples:jar:1.1.0-SNAPSHOT: Failure to find 
org.apache.giraph:giraph-core:jar:tests:1.1.0-SNAPSHOT in 
http://repo1.maven.org/maven2 was cached in the local repository, 
resolution will not be reattempted until the update interval of 
central has elapsed or updates are forced -> [Help 1] 

我的機器上安裝了hadoop,但無法構建它。 感謝您的關注。apache giraph編譯錯誤(從幹線建設)

+0

你有工作嗎? –

回答

0

它看起來像只編譯示例項目。您必須導入父項目,核心項目和示例項目。然後編譯Giraph trunk for pure Yarn,您可以使用:

clean package -P hadoop_yarn -Dhadoop.version=2.2.0 -DskipTests 

順便說一句。什麼是你的Java版本,Maven版本?