You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Abhijit Rao <bz...@gmail.com> on 2011/10/21 08:44:24 UTC

Help needed with HDFS-FUSE build

Hi all,

When I try to build a project on my Linux box I see the following error:

abhijit@abhijit-desktop:~/hadoop$ ant compile-c++-libhdfs -Dlibhdfs=1
Buildfile: 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/abhijit/hadoop/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.jarto
/home/abhijit/hadoop/ivy/ivy-2.0.0-rc2.jar

BUILD FAILED
java.net.ConnectException: Connection timed out

I'm unable download the file
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jareven
with wget but it gets downloaded with a browser.

Why does this happen? and is there a way to get this to work ?

Thanks,
Abhijit

Re: Help needed with HDFS-FUSE build

Posted by Harsh J <ha...@cloudera.com>.
Abhijit,

Perhaps you are using a HTTP proxy in your network environment? You
may want to follow the following guides:

1. Maven proxy config: http://maven.apache.org/guides/mini/guide-proxies.html
2. Ant proxy config: http://ant.apache.org/manual/proxy.html
3. For wget, etc., via shell: "export http_proxy=your-proxy-host:port"

Repeat for https where necessary.

On Fri, Oct 21, 2011 at 12:14 PM, Abhijit Rao <bz...@gmail.com> wrote:
> Hi all,
>
> When I try to build a project on my Linux box I see the following error:
>
> abhijit@abhijit-desktop:~/hadoop$ ant compile-c++-libhdfs -Dlibhdfs=1
> Buildfile: 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/abhijit/hadoop/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.jarto
> /home/abhijit/hadoop/ivy/ivy-2.0.0-rc2.jar
>
> BUILD FAILED
> java.net.ConnectException: Connection timed out
>
> I'm unable download the file
> http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-2.0.0-rc2.jareven
> with wget but it gets downloaded with a browser.
>
> Why does this happen? and is there a way to get this to work ?
>
> Thanks,
> Abhijit
>



-- 
Harsh J

Re: Help needed with HDFS-FUSE build

Posted by Uma Maheswara Rao G 72686 <ma...@huawei.com>.
Did you configure proxy address in maven settings.xml file?

location of this file : <maven installation dir>/conf/settings.xml

in proxies target, pls configure user, password, host, port values.

Regards,
Uma
----- Original Message -----
From: Abhijit Rao <bz...@gmail.com>
Date: Friday, October 21, 2011 12:15 pm
Subject: Help needed with HDFS-FUSE build
To: hdfs-dev@hadoop.apache.org

> Hi all,
> 
> When I try to build a project on my Linux box I see the following 
> error:
> abhijit@abhijit-desktop:~/hadoop$ ant compile-c++-libhdfs -Dlibhdfs=1
> Buildfile: 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/abhijit/hadoop/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.jarto
> /home/abhijit/hadoop/ivy/ivy-2.0.0-rc2.jar
> 
> BUILD FAILED
> java.net.ConnectException: Connection timed out
> 
> I'm unable download the file
> http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.0.0-rc2/ivy-
> 2.0.0-rc2.jareven
> with wget but it gets downloaded with a browser.
> 
> Why does this happen? and is there a way to get this to work ?
> 
> Thanks,
> Abhijit
>