Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> build error


Hii all,

i am trying to build hadoop using this command "mvn package -Pdist,native
-DskipTests=true -Dtar" and error is
[INFO] --- maven-antrun-plugin:1.7:run (dist) @ hadoop-hdfs-httpfs ---
[INFO] Executing tasks

main:
      [get] Getting:
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gz
      [get] To:
/home/cloudera/hadoop-common/hadoop-hdfs-project/hadoop-hdfs-httpfs/downloads/apache-tomcat-6.0.36.tar.gz
      [get] Error getting
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gzto
/home/cloudera/hadoop-common/hadoop-hdfs-project/hadoop-hdfs-httpfs/downloads/apache-tomcat-6.0.36.tar.gz
[INFO]
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [6.830s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [3.650s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [7.270s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.820s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [5.572s]
[INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [11.390s]
[INFO] Apache Hadoop MiniKDC ............................. SUCCESS [8.235s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [9.737s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [6.937s]
[INFO] Apache Hadoop Common .............................. SUCCESS
[3:21.239s]
[INFO] Apache Hadoop NFS ................................. SUCCESS [42.333s]
[INFO] Apache Hadoop Common Project ...................... SUCCESS [0.138s]
[INFO] Apache Hadoop HDFS ................................ SUCCESS
[8:27.805s]
[INFO] Apache Hadoop HttpFS .............................. FAILURE [13.811s]
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
[INFO] Apache Hadoop HDFS-NFS ............................ SKIPPED
[INFO] Apache Hadoop HDFS Project ........................ SKIPPED
[INFO] hadoop-yarn ....................................... SKIPPED
[INFO] hadoop-yarn-api ................................... SKIPPED
[INFO] hadoop-yarn-common ................................ SKIPPED
[INFO] hadoop-yarn-server ................................ SKIPPED
[INFO] hadoop-yarn-server-common ......................... SKIPPED
[INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
[INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED
[INFO] hadoop-yarn-server-applicationhistoryservice ...... SKIPPED
[INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
[INFO] hadoop-yarn-server-tests .......................... SKIPPED
[INFO] hadoop-yarn-client ................................ SKIPPED
[INFO] hadoop-yarn-applications .......................... SKIPPED
[INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
[INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SKIPPED
[INFO] hadoop-yarn-site .................................. SKIPPED
[INFO] hadoop-yarn-project ............................... SKIPPED
[INFO] hadoop-mapreduce-client ........................... 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-hs-plugins ................ SKIPPED
[INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
[INFO] hadoop-mapreduce .................................. SKIPPED
[INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED
[INFO] Apache Hadoop Distributed Copy .................... SKIPPED
[INFO] Apache Hadoop Archives ............................ SKIPPED
[INFO] Apache Hadoop Rumen ............................... SKIPPED
[INFO] Apache Hadoop Gridmix ............................. SKIPPED
[INFO] Apache Hadoop Data Join ........................... SKIPPED
[INFO] Apache Hadoop Extras .............................. SKIPPED
[INFO] Apache Hadoop Pipes ............................... SKIPPED
[INFO] Apache Hadoop OpenStack support ................... SKIPPED
[INFO] Apache Hadoop Client .............................. SKIPPED
[INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
[INFO] Apache Hadoop Scheduler Load Simulator ............ SKIPPED
[INFO] Apache Hadoop Tools Dist .......................... SKIPPED
[INFO] Apache Hadoop Tools ............................... SKIPPED
[INFO] Apache Hadoop Distribution ........................ SKIPPED
[INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 13:58.548s
[INFO] Finished at: Wed Mar 26 03:13:56 EDT 2014
[INFO] Final Memory: 62M/253M
[INFO]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (dist) on project
hadoop-hdfs-httpfs: An Ant BuildException has occured:
java.net.UnknownHostException: archive.apache.org
[ERROR] around Ant part ...<get
dest="downloads/apache-tomcat-6.0.36.tar.gz" skipexisting="true"
verbose="true" src="
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.36/bin/apache-tomcat-6.0.36.tar.gz"/>...
@ 5:182 in
/home/cloudera/hadoop-common/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/antrun/build-main.xml:
Unknown host archive.apache.org
[ERROR] -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :hadoop-hdfs-httpfs
plzz help me out.. thanx in advan