giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chui-Hui Chiu <cch...@tigers.lsu.edu>
Subject Failed to compile Giraph for Hadoop YARN
Date Wed, 03 Jul 2013 16:27:55 GMT
Hello,

I tried to compile the Giraph-1.1.0-SNAPSHOT for hadoop_2.0.3 or
hadoop_yarn but all failed.

The error message while the compile command is "mvn -Phadoop_yarn compile"
is
=====
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent .............................. SUCCESS [1.320s]
[INFO] Apache Giraph Core ................................ FAILURE [12.508s]
[INFO] Apache Giraph Examples ............................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 14.473s
[INFO] Finished at: Wed Jul 03 11:05:44 CDT 2013
[INFO] Final Memory: 14M/216M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project giraph-core: Could not resolve
dependencies for project org.apache.giraph:giraph-core:jar:1.1.0-SNAPSHOT:
The following artifacts could not be resolved:
org.apache.hadoop:hadoop-common:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION,
org.apache.hadoop:hadoop-mapreduce-client-common:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION,
org.apache.hadoop:hadoop-mapreduce-client-core:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION,
org.apache.hadoop:hadoop-yarn-common:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION,
org.apache.hadoop:hadoop-yarn-server-common:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION,
org.apache.hadoop:hadoop-yarn-server-resourcemanager:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION,
org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION,
org.apache.hadoop:hadoop-yarn-server-tests:jar:tests:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION:
Could not find artifact
org.apache.hadoop:hadoop-common:jar:SET_HADOOP_VERSION_USING_MVN_DASH_D_OPTION
in central (http://repo1.maven.org/maven2) -> [Help 1]
=====


The error message while the compile command is "mvn -Phadoop_2.0.3 compile"
is
=====
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent .............................. SUCCESS [12.695s]
[INFO] Apache Giraph Core ................................ SUCCESS
[2:10.916s]
[INFO] Apache Giraph Examples ............................ FAILURE [2.286s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:26.530s
[INFO] Finished at: Wed Jul 03 11:03:25 CDT 2013
[INFO] Final Memory: 34M/348M
[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: Could not find
artifact org.apache.giraph:giraph-core:jar:tests:1.1.0-SNAPSHOT in central (
http://repo1.maven.org/maven2) -> [Help 1]
=====

Do I miss anything?


I also noticed that my Maven 3 download many files from the maven2 folder
on a remote server with the following prompt.

Downloading: http://repo1.maven.org/maven2/org/apache/hadoop/...

Is this a problem?


Thanks,
Chui-hui

Mime
View raw message