hadoop_trunk_1181641:
>mvn test -DskipTests
编译通过。
>mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
报错:
[INFO] Apache Hadoop Project POM ......................... SUCCESS [1.644s] [INFO] Apache Hadoop Annotations ......................... SUCCESS [0.236s] [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [0.168s] [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.127s] [INFO] Apache Hadoop Auth ................................ SUCCESS [0.254s] [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [0.167s] [INFO] Apache Hadoop Common .............................. SUCCESS [1.405s] [INFO] Apache Hadoop Common Project ...................... SUCCESS [0.056s] [INFO] Apache Hadoop HDFS ................................ SUCCESS [2.032s] [INFO] Apache Hadoop HDFS Project ........................ SUCCESS [0.103s] [INFO] hadoop-yarn-api ................................... SUCCESS [1.408s] [INFO] hadoop-yarn-common ................................ SUCCESS [1.063s] [INFO] hadoop-yarn-server-common ......................... SUCCESS [0.634s] [INFO] hadoop-yarn-server-nodemanager .................... FAILURE [0.055s] [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED [INFO] hadoop-yarn-server-tests .......................... SKIPPED [INFO] hadoop-yarn-server ................................ SKIPPED [INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED [INFO] hadoop-yarn-applications .......................... SKIPPED [INFO] hadoop-yarn-site .................................. SKIPPED [INFO] hadoop-yarn ....................................... SKIPPED [INFO] hadoop-mapreduce-client-core ...................... SKIPPED [INFO] hadoop-mapreduce-client-common .................... SKIPPED [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED [INFO] hadoop-mapreduce-client-app ....................... SKIPPED [INFO] hadoop-mapreduce-client-hs ........................ SKIPPED [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED [INFO] hadoop-mapreduce-client ........................... SKIPPED [INFO] hadoop-mapreduce .................................. SKIPPED [INFO] Apache Hadoop Tools ............................... SKIPPED [INFO] Apache Hadoop Main ................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.114s [INFO] Finished at: Tue Oct 11 15:59:33 CST 2011 [INFO] Final Memory: 27M/183M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project hadoop-yarn-server-nodemanager: Could not resolve dependencies for project org.apache.hadoop:hadoop-yarn-server-nodemanager:jar:0.24.0-SNAPSHOT: Failed to collect dependencies for [org.apache.hadoop:hadoop-yarn-server-common:jar:0.24.0-SNAPSHOT (compile), org.apache.hadoop:hadoop-yarn-common:jar:tests:0.24.0-SNAPSHOT (test), org.apache.avro:avro:jar:1.5.3 (compile), com.google.protobuf:protobuf-java:jar:2.4.0a (compile), org.apache.hadoop:hadoop-common:jar:0.24.0-SNAPSHOT (compile), org.apache.hadoop:hadoop-annotations:jar:0.24.0-SNAPSHOT (compile), junit:junit:jar:4.8.2 (compile), org.mockito:mockito-all:jar:1.8.5 (test), org.apache.hadoop:hadoop-common:jar:tests:0.24.0-SNAPSHOT (test), org.apache.hadoop:hadoop-hdfs:jar:0.24.0-SNAPSHOT (runtime), com.google.inject.extensions:guice-servlet:jar:2.0 (compile), org.jboss.netty:netty:jar:3.2.3.Final (compile), org.slf4j:slf4j-api:jar:1.6.1 (compile), org.slf4j:slf4j-log4j12:jar:1.6.1 (compile)]: Failed to read artifact descriptor for org.apache.hadoop:hadoop-yarn-server-common:jar:0.24.0-SNAPSHOT: Failure to find org.apache.hadoop:hadoop-yarn:pom:${yarn.version} in http://repository.jboss.org/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of repository.jboss.org has elapsed or updates are forced -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hadoop-yarn-server-nodemanager
不知道到底是怎么回事?