hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evert Lammerts <Evert.Lamme...@sara.nl>
Subject RE: Compile error
Date Thu, 11 Mar 2010 16:24:25 GMT
Hi again, my problem is solved. Setting bindv6only to 0 in
/etc/sysctl.d/bindv6only.conf on my debian squeeze installation seems to
have fixed the problem. Sorry for littering the list.

 

Evert Lammerts

 

From: Evert Lammerts [mailto:Evert.Lammerts@sara.nl] 
Sent: donderdag 11 maart 2010 15:09
To: general@hadoop.apache.org
Subject: Compile error

 

Hi list,

 

I remember seeing a mail about this already, but I can't find it back in the
archives - maybe I remembered wrong.

 

When I try to compile hadoop-core 0.20.2 I'm getting a SocketException while
ant is trying to download Ivy (see below). Apparently it thinks there's no
connection, but a ping and wget proves otherwise. What am I / is it doing
wrong here?

 

Best regards,

Evert Lammerts

 

Buildfile: /home/hadoop/opt/code/hadoop/hadoop-0.20.2/build.xml

 

ivy-download:

      [get] Getting:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar

      [get] To:
/home/hadoop/opt/code/hadoop/hadoop-0.20.2/ivy/ivy-2.0.0-rc2.jar

      [get] Error getting
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jar
to /home/hadoop/opt/code/hadoop/hadoop-0.20.2/ivy/ivy-2.0.0-rc2.jar

 

BUILD FAILED

/home/hadoop/opt/code/hadoop/hadoop-0.20.2/build.xml:1630:
java.net.SocketException: Network is unreachable

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

        at java.net.Socket.connect(Socket.java:525)

        at java.net.Socket.connect(Socket.java:475)

        at sun.net.NetworkClient.doConnect(NetworkClient.java:163)

        at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)

        at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)

        at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)

        at sun.net.www.http.HttpClient.New(HttpClient.java:306)

        at sun.net.www.http.HttpClient.New(HttpClient.java:323)

        at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnecti
on.java:860)

        at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
ava:801)

        at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:7
26)

        at
org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:661)

        at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581)

        at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)

 

Evert Lammerts

Adviseur

SARA Computing & Network Services 

High Performance Computing & Visualization

eScience Support Group

 

Phone: +31 20 888 4101

Email: evert.lammerts@sara.nl

 


Mime
View raw message