Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> Artifact missing - org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT


Copy link to this message
-
Re: Artifact missing - org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
To work around the hadoop-project pom issue. Just use mvn install ...
instead of mvn package ...

On Mon, Oct 3, 2011 at 1:38 AM, Ravi Teja <[EMAIL PROTECTED]> wrote:
> 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.
>
> Regards,
> Ravi Teja
>
>
> -----Original Message-----
> From: Tim Broberg [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 03, 2011 2:04 AM
> To: [EMAIL PROTECTED]
> Subject: Artifact missing -
> org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
>
> 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
> commands:
>
>  svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/
> hadoop-trunk
>  cd hadoop-trunk
>  mvn clean package -Pdist -DskipTests -P-cbuild
>
> ...but I am getting errors similar to this guy:
> https://github.com/harrah/xsbt/issues/190.
>
> Do I need to go hunting around to manually download this file? Is this
> normal?
>
> Thanks,
>     - Tim.
>
> Complete Maven output:
>
> mvn clean package -Pdist -DskipTests -P-cbuild
> /usr/java/jre1.6.0_27
> [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]
> ------------------------------------------------------------------------
> [INFO] Building Apache Hadoop Project POM
> [INFO]    task-segment: [clean, package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 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
> there:
>       mvn deploy:deploy-file -DgroupId=jdk.tools -DartifactId=jdk.tools
> -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>   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:
>   org.apache.hadoop:hadoop-project:pom:0.24.0-SNAPSHOT
> from the specified remote repositories:
>   apache.snapshots.https
> (https://repository.apache.org/content/repositories/snapshots),
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB