You can see the directory? Are you using a proxy on your browser?

You can probably set the same proxy for ant, a quick websearch turn up
this:

http://ant.apache.org/manual/proxy.html

Never tried it tho.


On 1/19/12 4:07 PM, "Ted Yu" <[email protected]> wrote:

>Good observation.
>I can see the maven directory in browser.
>
>Is there a way to let ant get over firewall ?
>
>Thanks
>
>On Thu, Jan 19, 2012 at 4:06 PM, Francis Liu <[email protected]> wrote:
>
>> Maybe you're behind a firewall? Try accessing the link via you browser?
>>
>> On 1/19/12 2:53 PM, "Ted Yu" <[email protected]> wrote:
>>
>> >Did anyone else experience the following ?
>> >
>> >LM-SJN-00713032:hcatalog zhihyu$ ant test
>> >Buildfile: /Users/zhihyu/hcatalog/build.xml
>> >
>> >hive.jar:
>> >     [echo] Building hive with hadoop.version 0.20.3-CDH3-SNAPSHOT
>> >
>> >ivy-init-dirs:
>> >     [echo] Project: hive
>> >
>> >ivy-download:
>> >     [echo] Project: hive
>> >      [get] Getting:
>> >http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
>> >      [get] To: /Users/zhihyu/hcatalog/ivy/ivy-2.1.0.jar
>> >      [get] Error opening connection java.io.IOException: Server
>>returned
>> >HTTP response code: 503 for URL:
>> >http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
>> >      [get] Error opening connection java.io.IOException: Server
>>returned
>> >HTTP response code: 503 for URL:
>> >http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
>> >      [get] Error opening connection java.io.IOException: Server
>>returned
>> >HTTP response code: 503 for URL:
>> >http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
>> >      [get] Can't get
>> >http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to
>> >/Users/zhihyu/hcatalog/ivy/ivy-2.1.0.jar
>> >
>> >BUILD FAILED
>> >/Users/zhihyu/hcatalog/build.xml:226: The following error occurred
>>while
>> >executing this line:
>> >/Users/zhihyu/hcatalog/hive/external/build.xml:211: Can't get
>> >http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to
>> >/Users/zhihyu/hcatalog/ivy/ivy-2.1.0.jar
>> >
>> >But I see:
>> >LM-SJN-00713032:hcatalog zhihyu$ ls -l ivy/ivy-2.1.0.jar
>> >-rw-r--r--  1 zhihyu  110088321  910990 Oct 12  2009 ivy/ivy-2.1.0.jar
>> >
>> >Thanks
>>
>>
>>


Reply via email to