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

4

1 回答 1

0

看起来您只编译了示例项目。您必须导入父项目、核心项目和示例项目。然后为纯 Yarn 编译 Giraph 主干,您可以使用:

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

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

于 2014-01-23T12:40:04.687 回答