hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From German Florez-Larrahondo <german...@samsung.com>
Subject RE: build error
Date Wed, 26 Mar 2014 13:11:07 GMT
As Vincent said this is most likely related to  your network settings.

 

I would try first a ping

 

[german@gfldesktop tmp]$ ping archive.apache.org

….

64 bytes from eos.apache.org (140.211.11.131): icmp_seq=1 ttl=53 time=69.7
ms

 

If this works, then wget or curl, e.g. 

 [german@gfldesktop tmp]$ wget
http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.36/bi

…..

Saving to: âapache-tomcat-6.0.36.tar.gzâ

 

100%[=======================================================================
============================================================================
================================================>] 6,780,936    132K/s   in
23s

 

 

If this doesn’t work, you may be behind a proxy, and would need to do:
https://maven.apache.org/guides/mini/guide-proxies.html

 

./g

 

 

From: Vincent,Wei [mailto:weikun0905@gmail.com] 
Sent: Wednesday, March 26, 2014 2:59 AM
To: user@hadoop.apache.org
Subject: Re: build error

 

Hi, I think sometimes it will result by your network condition ....

 

2014-03-26 15:23 GMT+08:00 Banty Sharma <bantysharma458@gmail.com>:

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/download
s/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.gz to
/home/cloudera/hadoop-common/hadoop-hdfs-project/hadoop-hdfs-httpfs/download
s/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-tomca
t-6.0.36.tar.gz"/>... @ 5:182 in
/home/cloudera/hadoop-common/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/a
ntrun/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 advance

Regards

jhanver sharma





 

-- 

BR,

 

Vincent.Wei


Mime
View raw message