You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by 周俊清 <2h...@163.com> on 2011/08/02 04:14:17 UTC

fail to compile hadoop branch-0.22/mapreduce

 hello,everyone
I checkout the branch-0.22 source code from apache, i can compile the common and hdfs codes successfully,but I got a exception when i compiling branch-0.22/mapreduce as follow.I don't known why this happen.Thank you for your concerning.
ivy-resolve-common:
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]         module not found: org.apache.hadoop#guava;r09
[ivy:resolve]     ==== apache-snapshot: tried
[ivy:resolve]       https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/guava/r09/guava-r09.pom
[ivy:resolve]       -- artifact org.apache.hadoop#guava;r09!guava.jar:
[ivy:resolve]       https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/guava/r09/guava-r09.jar
[ivy:resolve]     ==== maven2: tried
[ivy:resolve]       http://repo1.maven.org/maven2/org/apache/hadoop/guava/r09/guava-r09.pom
[ivy:resolve]       -- artifact org.apache.hadoop#guava;r09!guava.jar:
[ivy:resolve]       http://repo1.maven.org/maven2/org/apache/hadoop/guava/r09/guava-r09.jar
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         :: org.apache.hadoop#guava;r09: not found
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS




--
----------------------------
周俊清
2houjq@163.com

RE: fail to compile hadoop branch-0.22/mapreduce

Posted by "Rottinghuis, Joep" <jr...@ebay.com>.
This is an erroneous patch applied for:
https://issues.apache.org/jira/browse/HDFS-2189

In the meantime that patch has been rolled back (and a new fixed one attached).
However, due to no build servers being available, the new code has not been built and deployed to the Maven repo.

The problem is that the pom in hadoop-hdfs incorrectly reads that it depends on org.apache.hadoop#guava.

Once the build servers are available, the build should go through and resolve the issue.
Or, a committer with Maven deployment rights should deploy a version earlier.

If you want to build your own hadoop-common and hadoop-hdfs and do a local maven install, then that should work as well for now.
I have instructions how to do this in:
https://issues.apache.org/jira/browse/HDFS-2211

Hope this helps,

Joep

________________________________
From: 周俊清 [2houjq@163.com]
Sent: Monday, August 01, 2011 7:14 PM
To: mapreduce-user
Subject: fail to compile hadoop branch-0.22/mapreduce

 hello,everyone
I checkout the branch-0.22 source code from apache, i can compile the common and hdfs codes successfully,but I got a exception when i compiling branch-0.22/mapreduce as follow.I don't known why this happen.Thank you for your concerning.
ivy-resolve-common:
[ivy:resolve]
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]         module not found: org.apache.hadoop#guava;r09
[ivy:resolve]     ==== apache-snapshot: tried
[ivy:resolve]       https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/guava/r09/guava-r09.pom
[ivy:resolve]       -- artifact org.apache.hadoop#guava;r09!guava.jar:
[ivy:resolve]       https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/guava/r09/guava-r09.jar
[ivy:resolve]     ==== maven2: tried
[ivy:resolve]       http://repo1.maven.org/maven2/org/apache/hadoop/guava/r09/guava-r09.pom
[ivy:resolve]       -- artifact org.apache.hadoop#guava;r09!guava.jar:
[ivy:resolve]       http://repo1.maven.org/maven2/org/apache/hadoop/guava/r09/guava-r09.jar
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]         :: org.apache.hadoop#guava;r09: not found
[ivy:resolve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]
[ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS



--
----------------------------
周俊清
2houjq@163.com<ma...@163.com>