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.
