hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Teja <ravit...@huawei.com>
Subject RE: Artifact missing - org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
Date Mon, 03 Oct 2011 08:38:03 GMT
Hi Tim,
You have set your JAVA_HOME to JRE(Java Runtime env) instead of setting it
to JDK (Java Dev Kit). The tools jar is not available in the jre. 

	For the hadoop project pom, I think its a issue with your maven
proxy settings. Can u provide the detailed stack using -e or -X option when
u run.

Ravi Teja

-----Original Message-----
From: Tim Broberg [mailto:tbroberg@yahoo.com] 
Sent: Monday, October 03, 2011 2:04 AM
To: common-dev@hadoop.apache.org
Subject: Artifact missing -

I am trying to build hadoop so I can understand it and perhaps make some
moderate contributions.
Following the instructions here,
http://wiki.apache.org/hadoop/HowToContribute, I am running the following
 svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/
 cd hadoop-trunk
 mvn clean package -Pdist -DskipTests -P-cbuild
...but I am getting errors similar to this guy:
Do I need to go hunting around to manually download this file? Is this
    - Tim.
Complete Maven output:
mvn clean package -Pdist -DskipTests -P-cbuild
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Apache Hadoop Project POM
[INFO]   Apache Hadoop Annotations
[INFO]   Apache Hadoop Assemblies
[INFO]   Apache Hadoop Project Dist POM
[INFO]   Apache Hadoop Auth
[INFO]   Apache Hadoop Auth Examples
[INFO]   Apache Hadoop Common
[INFO]   Apache Hadoop Common Project
[INFO]   Apache Hadoop HDFS
[INFO]   Apache Hadoop HDFS Project
[INFO]   hadoop-yarn
[INFO]   hadoop-yarn-api
[INFO]   hadoop-yarn-common
[INFO]   hadoop-yarn-server
[INFO]   hadoop-yarn-server-common
[INFO]   hadoop-yarn-server-nodemanager
[INFO]   hadoop-yarn-server-resourcemanager
[INFO]   hadoop-yarn-server-tests
[INFO]   hadoop-yarn-applications
[INFO]   hadoop-yarn-applications-distributedshell
[INFO]   hadoop-yarn-site
[INFO]   hadoop-mapreduce
[INFO]   hadoop-mapreduce-client
[INFO]   hadoop-mapreduce-client-core
[INFO]   hadoop-mapreduce-client-common
[INFO]   hadoop-mapreduce-client-shuffle
[INFO]   hadoop-mapreduce-client-app
[INFO]   hadoop-mapreduce-client-hs
[INFO]   hadoop-mapreduce-client-jobclient
[INFO]   Apache Hadoop Main
[INFO] Building Apache Hadoop Project POM
[INFO]    task-segment: [clean, package]
[INFO] Failed to resolve artifact.
1) jdk.tools:jdk.tools:jar:1.6
  Try downloading the file manually from the project website.
  Then, install it using the command:
      mvn install:install-file -DgroupId=jdk.tools -DartifactId=jdk.tools
-Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
  Alternatively, if you host your own repository you can deploy the file
      mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools
-Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
  Path to dependency:
        1) org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
        2) jdk.tools:jdk.tools:jar:1.6
1 required artifact is missing.
for artifact:
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  __jpp_pom_repo__ (file:///usr/share/maven-poms),
  __jpp_repo2__ (file:///usr/share/maven/repository),
  __jpp_repo__ (file:///usr/share/maven2/repository)
[INFO] For more information, run Maven with the -e switch
[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Oct 02 13:11:50 PDT 2011
[INFO] Final Memory: 9M/21M
[tbroberg@f15 hadoop-trunk]$ 

View raw message