hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Pastorelli <pastorelli.ma...@gmail.com>
Subject Get Hadoop 0.24.0-SNAPSHOT ready for Eclipse fails on retrieve hadoop-yarn-common jar
Date Fri, 02 Sep 2011 09:53:42 GMT
Hi all,
I'm trying to download and prepare Hadoop trunk to be used on Eclipse
using https://wiki.apache.org/hadoop/EclipseEnvironment but I'm having
problems with Yarn. In particular the command

mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true -e

output this (this is just the end, other goals compile):

[INFO]
------------------------------------------------------------------------
[INFO] Building hadoop-yarn-api 0.24.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @
hadoop-yarn-api >>>
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run
(create-protobuf-generated-sources-directory) @ hadoop-yarn-api ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] --- exec-maven-plugin:1.2:exec (generate-sources) @
hadoop-yarn-api ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:add-source (add-source) @
hadoop-yarn-api ---
[INFO] Source directory:
/home/rief/Programmazione/Java/Hadoop/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api/target/generated-sources/proto


added.
[INFO]
[INFO] <<< maven-eclipse-plugin:2.8:eclipse (default-cli) @
hadoop-yarn-api <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @
hadoop-yarn-api ---
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container:
org.eclipse.jdt.launching.JRE_CONTAINER
[INFO] File
/home/rief/Programmazione/Java/Hadoop/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api/.project


already exists.
Additional settings will be preserved, run mvn eclipse:clean if
you want old settings to be removed.
[INFO] Wrote Eclipse project for "hadoop-yarn-api" to
/home/rief/Programmazione/Java/Hadoop/hadoop-common/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-api.
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building hadoop-yarn-common 0.24.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.8:eclipse (default-cli) @
hadoop-yarn-common >>>
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [1.437s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [0.153s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [0.032s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.059s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [0.222s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [0.138s]
[INFO] Apache Hadoop Common .............................. SUCCESS [2.172s]
[INFO] Apache Hadoop Common Project ...................... SUCCESS [0.017s]
[INFO] Apache Hadoop HDFS ................................ SUCCESS [2.305s]
[INFO] Apache Hadoop HDFS Project ........................ SUCCESS [0.016s]
[INFO] hadoop-yarn-api ................................... SUCCESS [1.964s]
[INFO] hadoop-yarn-common ................................ FAILURE [0.234s]
[INFO] hadoop-yarn-server-common ......................... SKIPPED
[INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
[INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
[INFO] hadoop-yarn-server-tests .......................... SKIPPED
[INFO] hadoop-yarn-server ................................ 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 Main ................................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.370s
[INFO] Finished at: Fri Sep 02 10:58:42 CEST 2011
[INFO] Final Memory: 26M/269M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hadoop-yarn-common: Could not
resolve dependencies for project
org.apache.hadoop:hadoop-yarn-common:jar:0.24.0-SNAPSHOT: Failure to
find org.apache.hadoop:hadoop-yarn-api:jar:0.24.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal on project hadoop-yarn-common: Could not resolve
dependencies for project
org.apache.hadoop:hadoop-yarn-common:jar:0.24.0-SNAPSHOT: Failure to
find org.apache.hadoop:hadoop-yarn-api:jar:0.24.0-SNAPSHOT in
http://repository.apache.org/snapshots was cached in the local
repository, resolution will not be reattempted until the update interval
of apache.snapshots has elapsed or updates are forced

Any idea what might be the problem?

Mario

Mime
View raw message