Hi, Try these % cd ~/.ant/cache/hadoop/core/sources % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.17.2.1/hadoop-0.17.2.1.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.18.3/hadoop-0.18.3.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz % wget http://archive.apache.org/dist/hadoop/core/hadoop-0.20.1/hadoop-0.20.1.tar.gz % cd /hive-directory % svn update In the ivy/ivysettings.xml There will be two occurrences of 'checkmodified="true"' change both the 'checkmodified="true"' to 'checkmodified="false"' % ant -Dhadoop.version=0.20.0 clean package
From: Something Something [mailto:[email protected]] Sent: Sunday, February 21, 2010 1:31 AM To: [email protected] Subject: Re: Can't get started with Hive When I run with the 'verbose' option: ant -verbose package I get: /home/training/hive/build.xml:93: The following error occurred while executing this line: /home/training/hive/shims/build.xml:55: The following error occurred while executing this line: /home/training/hive/build-common.xml:180: impossible to resolve dependencies: resolve failed - see output for details at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:508) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418) at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289) On Sat, Feb 20, 2010 at 11:59 AM, Something Something <[email protected]<mailto:[email protected]>> wrote: I am trying to get started with Hive by following instructions on the 'Getting Started' page: http://wiki.apache.org/hadoop/Hive/GettingStarted Here's the problem I am facing: 1) Ran the following command successfully: svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive This resulted in following messssage: Checked out revision 912198. 2) cd hive 3) ant package This gives me following error: [ivy:retrieve] :: resolution report :: resolve 5232ms :: artifacts dl 309067ms --------------------------------------------------------------------- | | modules || artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| --------------------------------------------------------------------- | default | 4 | 0 | 0 | 0 || 4 | 0 | --------------------------------------------------------------------- [ivy:retrieve] [ivy:retrieve] :: problems summary :: [ivy:retrieve] :::: WARNINGS [ivy:retrieve] [FAILED ] hadoop#core;0.20.0!hadoop.tar.gz(source): Downloaded file size doesn't match expected Content Length for http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz. Please retry. (309028ms) [ivy:retrieve] [FAILED ] hadoop#core;0.20.0!hadoop.tar.gz(source): (0ms) [ivy:retrieve] ==== hadoop-source: tried [ivy:retrieve] http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz [ivy:retrieve] ==== apache-snapshot: tried [ivy:retrieve] https://repository.apache.org/content/repositories/snapshots/hadoop/core/0.20.0/hadoop-0.20.0.tar.gz [ivy:retrieve] ==== maven2: tried [ivy:retrieve] http://repo1.maven.org/maven2/hadoop/core/0.20.0/core-0.20.0.tar.gz [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: FAILED DOWNLOADS :: [ivy:retrieve] :: ^ see resolution messages for details ^ :: [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] :: hadoop#core;0.20.0!hadoop.tar.gz(source) [ivy:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:retrieve] [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS BUILD FAILED /home/training/hive/build.xml:148: The following error occurred while executing this line: /home/training/hive/build.xml:93: The following error occurred while executing this line: /home/training/hive/shims/build.xml:55: The following error occurred while executing this line: /home/training/hive/build-common.xml:180: impossible to resolve dependencies: resolve failed - see output for details Total time: 5 minutes 16 seconds I retried quite a few times. Trying to figure out where the 'expected Content Length' is specified. Please help in resolving this issue. Thanks. ________________________________ 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.
