You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Ravi teja ch n v <ra...@huawei.com> on 2012/01/12 19:16:56 UTC

407 error while building Hadoop


Hi Team,

I have got a problem building Hadoop with the proxy settings.
My linux machine has maven proxy settings configured and working fine, but
the build fails with the following error, inspite of passing the username and pwd.

mvn package -Pdist -Dtar -Dhttp.proxyHost=***.com  -Dhttp.proxyPort=8080 -Dhttp.proxyUser=****  -Dhttp.proxyPass=****



main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (xprepare-package-hadoop-daemon) @ hadoop-hdfs ---
[INFO] Executing tasks

main:
     [get] Getting: http://archive.apache.org/dist/commons/daemon/binaries/1.0.3/linux/commons-daemon-1.0.3-bin-linux-i686.tar.gz
     [get] To: /home/isap/.hudson/jobs/Hadoop/workspace/hadoop-hdfs-project/hadoop-hdfs/downloads/commons-daemon-1.0.3-bin-linux-i686.tar.gz
     [get] Error opening connection java.io.IOException: Server returned HTTP response code: 407 for URL: http://archive.apache.org/dist/commons/daemon/binaries/1.0.3/linux/commons-daemon-1.0.3-bin-linux-i686.tar.gz
     [get] Error opening connection java.io.IOException: Server returned HTTP response code: 407 for URL: http://archive.apache.org/dist/commons/daemon/binaries/1.0.3/linux/commons-daemon-1.0.3-bin-linux-i686.tar.gz
     [get] Error opening connection java.io.IOException: Server returned HTTP response code: 407 for URL: http://archive.apache.org/dist/commons/daemon/binaries/1.0.3/linux/commons-daemon-1.0.3-bin-linux-i686.tar.gz
     [get] Can't get http://archive.apache.org/dist/commons/daemon/binaries/1.0.3/linux/commons-daemon-1.0.3-bin-linux-i686.tar.gz to /home/isap/.hudson/jobs/Hadoop/workspace/hadoop-hdfs-project/hadoop-hdfs/downloads/commons-daemon-1.0.3-bin-linux-i686.tar.gz

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop HDFS ................................ FAILURE [1:36.333s]
[INFO] Apache Hadoop HttpFS .............................. SKIPPED
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED





Any help will be highly appreciable...



Thanks and Regards,

Ravi Teja