apache giraph编译错误(从主干构建)

时间:2014-01-21 21:10:51

标签: apache build giraph

===================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,但我无法构建它。 谢谢你的调查。

1 个答案:

答案 0 :(得分:0)

看起来您只编译示例项目。您必须导入父项目,核心项目和示例项目。然后编译Giraph trunk用于纯纱线,你可以使用:

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

顺便说一句。什么是你的java版本,maven版本?