Hi Babu, ~/.ant/cache is the default Ivy cache directory for Hive, but if the environment variable IVY_HOME is set it will use $IVY_HOME/cache instead. Is it possible that you have this environment variable set to a value different than ~/.ant?
On Fri, Feb 5, 2010 at 12:09 AM, baburaj.S <[email protected]> wrote: > I have tried the same but still the installation is giving the same error. > I don't know if it is looking in the cache . Can we make any change in > ivysettings.xml that it has to resolve the file from the file system rather > through an url. > > Babu > > > -----Original Message----- > From: Zheng Shao [mailto:[email protected]] > Sent: Friday, February 05, 2010 12:47 PM > To: [email protected] > Subject: Re: Hive Installation Problem > > Added to http://wiki.apache.org/hadoop/Hive/FAQ > > Zheng > > On Thu, Feb 4, 2010 at 11:11 PM, Zheng Shao <[email protected]> wrote: > > Try this: > > > > cd ~/.ant/cache/hadoop/core/sources > > wget > http://archive.apache.org/dist/hadoop/core/hadoop-0.20.1/hadoop-0.20.1.tar.gz > > > > > > Zheng > > > > On Thu, Feb 4, 2010 at 10:23 PM, baburaj.S <[email protected]> > wrote: > >> Hello , > >> > >> I am new to Hadoop and is trying to install Hive now. We have the > following setup at our side > >> > >> OS - Ubuntu 9.10 > >> Hadoop - 0.20.1 > >> Hive installation tried - 0.4.0 . > >> > >> The Hadoop is installed and is working fine . Now when we were > installing Hive I got error that it couldn't resolve the dependencies. I > changed the shims build and properties xml to make the dependencies look for > Hadoop 0.20.1 . But now when I call the ant script I get the following error > >> > >> ivy-retrieve-hadoop-source: > >> [ivy:retrieve] :: Ivy 2.0.0-rc2 - 20081028224207 :: > http://ant.apache.org/ivy/ : > >> :: loading settings :: file = /master/hive/ivy/ivysettings.xml > >> [ivy:retrieve] :: resolving dependencies :: > org.apache.hadoop.hive#shims;working > >> [ivy:retrieve] confs: [default] > >> [ivy:retrieve] :: resolution report :: resolve 953885ms :: artifacts dl > 0ms > >> > --------------------------------------------------------------------- > >> | | modules || artifacts > | > >> | conf | number| search|dwnlded|evicted|| > number|dwnlded| > >> > --------------------------------------------------------------------- > >> | default | 1 | 0 | 0 | 0 || 0 | 0 > | > >> > --------------------------------------------------------------------- > >> [ivy:retrieve] > >> [ivy:retrieve] :: problems summary :: > >> [ivy:retrieve] :::: WARNINGS > >> [ivy:retrieve] module not found: hadoop#core;0.20.1 > >> [ivy:retrieve] ==== hadoop-source: tried > >> [ivy:retrieve] -- artifact hadoop#core;0.20.1!hadoop.tar.gz(source): > >> [ivy:retrieve] > http://archive.apache.org/dist/hadoop/core/hadoop-0.20.1/hadoop-0.20.1.tar.gz > >> [ivy:retrieve] ==== apache-snapshot: tried > >> [ivy:retrieve] > https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.1/core-0.20.1.pom > >> [ivy:retrieve] -- artifact hadoop#core;0.20.1!hadoop.tar.gz(source): > >> [ivy:retrieve] > https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.1/hadoop-0.20.1.tar.gz > >> [ivy:retrieve] ==== maven2: tried > >> [ivy:retrieve] > http://repo1.maven.org/maven2/hadoop/core/0.20.1/core-0.20.1.pom > >> [ivy:retrieve] -- artifact hadoop#core;0.20.1!hadoop.tar.gz(source): > >> [ivy:retrieve] > http://repo1.maven.org/maven2/hadoop/core/0.20.1/core-0.20.1.tar.gz > >> [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > >> [ivy:retrieve] :: UNRESOLVED DEPENDENCIES :: > >> [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > >> [ivy:retrieve] :: hadoop#core;0.20.1: not found > >> [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: > >> [ivy:retrieve] :::: ERRORS > >> [ivy:retrieve] Server access Error: Connection timed out url= > http://archive.apache.org/dist/hadoop/core/hadoop-0.20.1/hadoop-0.20.1.tar.gz > >> [ivy:retrieve] Server access Error: Connection timed out url= > https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.1/core-0.20.1.pom > >> [ivy:retrieve] Server access Error: Connection timed out url= > https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.1/hadoop-0.20.1.tar.gz > >> [ivy:retrieve] Server access Error: Connection timed out url= > http://repo1.maven.org/maven2/hadoop/core/0.20.1/core-0.20.1.pom > >> [ivy:retrieve] Server access Error: Connection timed out url= > http://repo1.maven.org/maven2/hadoop/core/0.20.1/core-0.20.1.tar.gz > >> [ivy:retrieve] > >> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS > >> > >> BUILD FAILED > >> /master/hive/build.xml:148: The following error occurred while executing > this line: > >> /master/hive/build.xml:93: The following error occurred while executing > this line: > >> /master/hive/shims/build.xml:64: The following error occurred while > executing this line: > >> /master/hive/build-common.xml:172: impossible to resolve dependencies: > >> resolve failed - see output for details > >> > >> Total time: 15 minutes 55 seconds > >> > >> > >> I have even tried to download hadoop-0.20.1.tar.gz and put it in the ant > cache of the user . Still the same error is repeated. I am stuck and not > able to install it . > >> > >> Any help on the above will be greatly appreciated. > >> > >> Babu > >> > >> > >> DISCLAIMER: The information in this message is confidential and may be > legally privileged. It is intended solely for the addressee. Access to this > message by anyone else is unauthorized. If you are not the intended > recipient, any disclosure, copying, or distribution of the message, or any > action or omission taken by you in reliance on it, is prohibited and may be > unlawful. Please immediately contact the sender if you have received this > message in error. Further, this e-mail may contain viruses and all > reasonable precaution to minimize the risk arising there from is taken by > OnMobile. OnMobile is not liable for any damage sustained by you as a result > of any virus in this e-mail. All applicable virus checks should be carried > out by you before opening this e-mail or any attachment thereto. > >> Thank you - OnMobile Global Limited. > >> > > > > > > > > -- > > Yours, > > Zheng > > > > > > -- > Yours, > Zheng > > DISCLAIMER: The information in this message is confidential and may be > legally privileged. It is intended solely for the addressee. Access to this > message by anyone else is unauthorized. If you are not the intended > recipient, any disclosure, copying, or distribution of the message, or any > action or omission taken by you in reliance on it, is prohibited and may be > unlawful. Please immediately contact the sender if you have received this > message in error. Further, this e-mail may contain viruses and all > reasonable precaution to minimize the risk arising there from is taken by > OnMobile. OnMobile is not liable for any damage sustained by you as a result > of any virus in this e-mail. All applicable virus checks should be carried > out by you before opening this e-mail or any attachment thereto. > Thank you - OnMobile Global Limited. >
