Re: Invalid link http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar during ivy download whiling mumak build.

2011-08-02 Thread Steve Loughran

On 30/07/11 06:30, arun k wrote:

Hi all !
  I have added the following code to build.xml and tried to build : $ant
package.
  I have also tried to remove removed the entire ivy2 (~/.ivy2/* ) directory
and rebuild but couldn't succeed.
  setproxy proxyhost=192.168.0.90 proxyport=8080
   proxyuser=ranam proxypassword=passwd  nonproxyhosts=xyz.svn.com
/
I get the error UNRESOLVED DEPENDENCIES.
I have attached the log file.


The artifact is there, so it's a proxy problem

export $ANT_OPTS = -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 
-Dhttps.proxyHost=proxy -Dhttps.proxyPort=8080


These don't set ant properties, they set JVM options, and do work for 
Hadoop builds





Re: Invalid link http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar during ivy download whiling mumak build.

2011-07-30 Thread Harsh J
Arun,

Looks like 0.21.0 pieces are still not present in the maven
repositories online. There was a fix for 0.21.1 but that didn't get
cut yet (perhaps abandoned).

If you're looking to get into development, I'd suggest either using
the stable 0.20 branch or using the trunk, depending on what you're
gonna be working on.

If you still want to persist with the 0.21, try to get it directly off
of the apache svn 0.21 branch of each component (common, mapreduce,
hdfs).

On Sat, Jul 30, 2011 at 11:00 AM, arun k arunk...@gmail.com wrote:
 Hi all !
  I have added the following code to build.xml and tried to build : $ant
 package.
  I have also tried to remove removed the entire ivy2 (~/.ivy2/* ) directory
 and rebuild but couldn't succeed.
  setproxy proxyhost=192.168.0.90 proxyport=8080
       proxyuser=ranam proxypassword=passwd
  nonproxyhosts=xyz.svn.com/
 I get the error UNRESOLVED DEPENDENCIES.
 I have attached the log file.
 Any idea ?
 Thanks,
 Arun K

 On Fri, Jul 29, 2011 at 9:51 PM, Harsh J ha...@cloudera.com wrote:

 So set a proxy?

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

 On Fri, Jul 29, 2011 at 3:32 PM, Arun K arunk...@gmail.com wrote:
  Hi all !
 
  I have downloaded hadoop-0.21.I am behind my college proxy.
   Installed :-
   ivy version : 2.1.0~rc2-3ubuntu1
   Ant version : 1.7.1-4ubuntu1.1
 
   I get the following error while building mumak :
 
  $cd /home/arun/Documents/hadoop-0.21.0/mapred
  $ant package
  Buildfile: build.xml
 
  clover.setup:
 
  clover.info:
      [echo]
      [echo]      Clover not found. Code coverage reports disabled.
      [echo]
 
  clover:
 
  ivy-download:
       [get] Getting:
  http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-
  2.1.0.jar
       [get] To:
  /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
       [get] Error getting
  http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to
  /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
 
  From internet also this link
  http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
  is not accessible.
 
  Any Help !
 
  Thanks,
  Arun K
 
 



 --
 Harsh J





-- 
Harsh J


Invalid link http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar during ivy download whiling mumak build.

2011-07-29 Thread Arun K
Hi all !

I have downloaded hadoop-0.21.I am behind my college proxy.
 Installed :-
 ivy version : 2.1.0~rc2-3ubuntu1
 Ant version : 1.7.1-4ubuntu1.1

 I get the following error while building mumak :

$cd /home/arun/Documents/hadoop-0.21.0/mapred
$ant package
Buildfile: build.xml

clover.setup:

clover.info:
 [echo] 
 [echo]  Clover not found. Code coverage reports disabled.
 [echo]   

clover:

ivy-download:
  [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-
2.1.0.jar
  [get] To: /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
  [get] Error getting 
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to 
/home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar

From internet also this link  
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar 
is not accessible.

Any Help !

Thanks,
Arun K



Re: Invalid link http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar during ivy download whiling mumak build.

2011-07-29 Thread Harsh J
So set a proxy?

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

On Fri, Jul 29, 2011 at 3:32 PM, Arun K arunk...@gmail.com wrote:
 Hi all !

 I have downloaded hadoop-0.21.I am behind my college proxy.
  Installed :-
  ivy version : 2.1.0~rc2-3ubuntu1
  Ant version : 1.7.1-4ubuntu1.1

  I get the following error while building mumak :

 $cd /home/arun/Documents/hadoop-0.21.0/mapred
 $ant package
 Buildfile: build.xml

 clover.setup:

 clover.info:
     [echo]
     [echo]      Clover not found. Code coverage reports disabled.
     [echo]

 clover:

 ivy-download:
      [get] Getting: 
 http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-
 2.1.0.jar
      [get] To: /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
      [get] Error getting
 http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to
 /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar

 From internet also this link
 http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
 is not accessible.

 Any Help !

 Thanks,
 Arun K





-- 
Harsh J


Re: Invalid link http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar during ivy download whiling mumak build.

2011-07-29 Thread Giridharan Kesavan
If you already have your ivy2 cache with all the artifacts
then you can manually download/copy the ivy.jar and place that in the ivy
folder and do an ant build with -Doffline=true.

-Giri

On Fri, Jul 29, 2011 at 3:02 AM, Arun K arunk...@gmail.com wrote:

 Hi all !

 I have downloaded hadoop-0.21.I am behind my college proxy.
  Installed :-
  ivy version : 2.1.0~rc2-3ubuntu1
  Ant version : 1.7.1-4ubuntu1.1

  I get the following error while building mumak :

 $cd /home/arun/Documents/hadoop-0.21.0/mapred
 $ant package
 Buildfile: build.xml

 clover.setup:

 clover.info:
 [echo]
 [echo]  Clover not found. Code coverage reports disabled.
 [echo]

 clover:

 ivy-download:
  [get] Getting:
 http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-
 2.1.0.jar
  [get] To: /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
  [get] Error getting
 http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to
 /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar

 From internet also this link
 http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
 is not accessible.

 Any Help !

 Thanks,
 Arun K




Re: Invalid link http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar during ivy download whiling mumak build.

2011-07-29 Thread arun k
Hi all !
 I have added the following code to build.xml and tried to build : $ant
package.
 I have also tried to remove removed the entire ivy2 (~/.ivy2/* ) directory
and rebuild but couldn't succeed.
 setproxy proxyhost=192.168.0.90 proxyport=8080
  proxyuser=ranam proxypassword=passwd  nonproxyhosts=xyz.svn.com
/
I get the error UNRESOLVED DEPENDENCIES.
I have attached the log file.
Any idea ?

Thanks,
Arun K


On Fri, Jul 29, 2011 at 9:51 PM, Harsh J ha...@cloudera.com wrote:

 So set a proxy?

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

 On Fri, Jul 29, 2011 at 3:32 PM, Arun K arunk...@gmail.com wrote:
  Hi all !
 
  I have downloaded hadoop-0.21.I am behind my college proxy.
   Installed :-
   ivy version : 2.1.0~rc2-3ubuntu1
   Ant version : 1.7.1-4ubuntu1.1
 
   I get the following error while building mumak :
 
  $cd /home/arun/Documents/hadoop-0.21.0/mapred
  $ant package
  Buildfile: build.xml
 
  clover.setup:
 
  clover.info:
  [echo]
  [echo]  Clover not found. Code coverage reports disabled.
  [echo]
 
  clover:
 
  ivy-download:
   [get] Getting:
 http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-
  2.1.0.jar
   [get] To:
 /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
   [get] Error getting
  http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar to
  /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
 
  From internet also this link
  http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
  is not accessible.
 
  Any Help !
 
  Thanks,
  Arun K
 
 



 --
 Harsh J

Buildfile: build.xml

clover.setup:

clover.info:
 [echo] 
 [echo]  Clover not found. Code coverage reports disabled.
 [echo]   

clover:

ivy-download:
  [get] Getting: 
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
  [get] To: /home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivy-2.1.0.jar
  [get] Not modified - so not downloaded

ivy-init-dirs:

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:
[ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
[ivy:configure] :: loading settings :: file = 
/home/arun/Documents/hadoop-0.21.0/mapred/ivy/ivysettings.xml

ivy-resolve-common:
[ivy:resolve] 
[ivy:resolve] :: problems summary ::
[ivy:resolve]  WARNINGS
[ivy:resolve]   module not found: org.apache.hadoop#hadoop-common;0.21.0
[ivy:resolve]    apache-snapshot: tried
[ivy:resolve] 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.pom
[ivy:resolve] -- artifact 
org.apache.hadoop#hadoop-common;0.21.0!hadoop-common.jar:
[ivy:resolve] 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.jar
[ivy:resolve]    maven2: tried
[ivy:resolve] 
http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.pom
[ivy:resolve] -- artifact 
org.apache.hadoop#hadoop-common;0.21.0!hadoop-common.jar:
[ivy:resolve] 
http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.jar
[ivy:resolve]   module not found: 
org.apache.hadoop#hadoop-common-test;0.21.0
[ivy:resolve]    apache-snapshot: tried
[ivy:resolve] 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common-test/0.21.0/hadoop-common-test-0.21.0.pom
[ivy:resolve] -- artifact 
org.apache.hadoop#hadoop-common-test;0.21.0!hadoop-common-test.jar:
[ivy:resolve] 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common-test/0.21.0/hadoop-common-test-0.21.0.jar
[ivy:resolve]    maven2: tried
[ivy:resolve] 
http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common-test/0.21.0/hadoop-common-test-0.21.0.pom
[ivy:resolve] -- artifact 
org.apache.hadoop#hadoop-common-test;0.21.0!hadoop-common-test.jar:
[ivy:resolve] 
http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common-test/0.21.0/hadoop-common-test-0.21.0.jar
[ivy:resolve]   module not found: org.apache.hadoop#hadoop-hdfs;0.21.0
[ivy:resolve]    apache-snapshot: tried
[ivy:resolve] 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-hdfs/0.21.0/hadoop-hdfs-0.21.0.pom
[ivy:resolve] -- artifact 
org.apache.hadoop#hadoop-hdfs;0.21.0!hadoop-hdfs.jar:
[ivy:resolve] 
https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-hdfs/0.21.0/hadoop-hdfs-0.21.0.jar
[ivy:resolve]    maven2: tried
[ivy:resolve] 
http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-hdfs/0.21.0/hadoop-hdfs-0.21.0.pom
[ivy:resolve] -- artifact 
org.apache.hadoop#hadoop-hdfs;0.21.0!hadoop-hdfs.jar:
[ivy:resolve] 
http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-hdfs/0.21.0/hadoop-hdfs-0.21.0.jar
[ivy:resolve]   ::