vendredi 4 juillet 2014

Connection refused with maven + ant :


Vote count:

0




I'm trying to build Hadoop-24 on windows. Everything works fine when suddenly :



[INFO] Apache Hadoop HttpFS .............................. FAILURE [8.568s]


The associated error is this :



[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.ConnectException: Connection refused: connect
[ERROR] around Ant part ...<get dest="downloads/apache-tomcat-6.0.36.tar.gz" skipexisting="true" verbose="true" src="http://ift.tt/1jQxIzI"/>... @ 5:182 in C:\hadoop-src\hadoop-hdfs-project\hadoop-hdfs-httpfs\target\antrun\build-main.xml
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: 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.ConnectException: Connection refused: connect
around Ant part ...<get dest="downloads/apache-tomcat-6.0.36.tar.gz" skipexisting="true" verbose="true" src="http://ift.tt/1jQxHM7
.36/bin/apache-tomcat-6.0.36.tar.gz"/>... @ 5:182 in C:\hadoop-src\hadoop-hdfs-project\hadoop-hdfs-httpfs\target\antrun\build-main.xml


Everything seems to indicate a connexion error. However :



  1. the other packages were downloaded without trouble (via Maven and Ant)

  2. the proxy is well configured (see first point)

  3. I can download the aforementioned file via firefox.


Right now, I dodged this problem by downloading manually the file and putting it where it's expected. However, I would like to understand why is this not working naturally. Would you folks see the reason why ?



asked 2 mins ago

fxm

764





Aucun commentaire:

Enregistrer un commentaire