You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by 梁景明 <fu...@gmail.com> on 2009/09/20 11:39:55 UTC

hive can't built by hadoop-0.20.0

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;

Re: hive can't built by hadoop-0.20.0

Posted by Zheng Shao <zs...@gmail.com>.
Hive is mainly for data warehousing applications right now. Point queries on
Hive are not very efficient yet because Index on Hive is still in progress.

Zheng

On Sun, Sep 20, 2009 at 3:27 AM, 梁景明 <fu...@gmail.com> wrote:

> first thanks for ur help.
>
> i can download
> http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz.
> from browser , i think it wont be the internet problem ,or  i am in china
> ,maybe some site will  be refused to access,i am not sure about this.isthere some compiled source for me to download .
>
> second ,i want to know weather hive is like common database sql but just
> builded on top of hadoop, i want to use hive as database sql in web search
> app ,will it  be ok? why doesnot  hive  integrate with hbase, do i mistake
> the usage of hive?  i used hbase but only simple search function ,so i found
> hive to improve the datasearch, is that point right?
>
> 2009/9/20 Zheng Shao <zs...@gmail.com>
>
> 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, 梁景明 <fu...@gmail.com> 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
>>
>
>


-- 
Yours,
Zheng

Re: hive can't built by hadoop-0.20.0

Posted by 梁景明 <fu...@gmail.com>.
first thanks for ur help.

i can download
http://archive.apache.org/dist/hadoop/core/hadoop-0.20.0/hadoop-0.20.0.tar.gz.
from browser , i think it wont be the internet problem ,or  i am in china
,maybe some site will  be refused to access,i am not sure about
this.isthere some compiled source for me to download .

second ,i want to know weather hive is like common database sql but just
builded on top of hadoop, i want to use hive as database sql in web search
app ,will it  be ok? why doesnot  hive  integrate with hbase, do i mistake
the usage of hive?  i used hbase but only simple search function ,so i found
hive to improve the datasearch, is that point right?

2009/9/20 Zheng Shao <zs...@gmail.com>

> 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, 梁景明 <fu...@gmail.com> 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
>

Re: hive can't built by hadoop-0.20.0

Posted by Zheng Shao <zs...@gmail.com>.
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, 梁景明 <fu...@gmail.com> 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