Hi, You might not have Internet access to download the required tgz file for hive.
You can do "ant clean" and remove "~/.ivy2" and try again. Also, now you don't need to specify "-Dhadoop.version=..." when doing "ant package" any more. Hive should directly work with hadoop 0.20 without any problems. Zheng On Sun, Sep 20, 2009 at 2:39 AM, 梁景明 <[email protected]> wrote: > hi,i am a newer to use hive ,and i found that hive pages dont contain > hadoop0.20.0 ,but only from svn . so i follow introduction do this > $ svn co http://svn.apache.org/repos/asf/hadoop/hive/trunk hive_trunk > $ cd hive_trunk > $ hive_trunk> ant -Dtarget.dir=/home/futureha/hive > -Dhadoop.version='0.20.0' package > > but it fails,and system ouputs this: > [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. (138341ms) > [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. (138341ms) > [ivy:retrieve] ==== hadoop-resolver: tried > [ivy:retrieve] > http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-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 > > it seems to be the content of the file downloaded error > i don't how to deal with it or just hive doesnt support hadoop0.20.0 > thanks for anyhelp; > -- Yours, Zheng
