You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by forbbs forbbs <bb...@gmail.com> on 2009/02/13 07:39:25 UTC

hive installation can't find my installed hadoop.

I asked hive-user, but no replies.

---------- Forwarded message ----------
From: forbbs forbbs <bb...@gmail.com>
Date: Mon, Feb 9, 2009 at 5:10 PM
Subject: hive installation can't find my installed hadoop.
To: hive-user@hadoop.apache.org


I got the source code by "svn co
http://svn.apache.org/repos/asf/hadoop/hive/trunk hive".

When I run ant, it shows:
......
[ivy:retrieve]         module not found: hadoop#core;0.19.0
[ivy:retrieve]     ==== hadoop-resolver: tried
[ivy:retrieve]       -- artifact hadoop#core;0.19.0!hadoop.tar.gz(source):
[ivy:retrieve]
http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.gz
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         :: hadoop#core;0.19.0: not found
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
......



There is hadoop 0.19.0 installed on this computer. And I have set the
HADOOP_HOME and  HADOOP_VERSION environment variable correctly.
It seems that it can't find the installed hadoop, and try to download from
the web. But this computer can't access Internet.

Re: hive installation can't find my installed hadoop.

Posted by Jeff Hammerbacher <ha...@cloudera.com>.
Hey Zheng,

When the 0.2 release is cut for Hive, will that also require access to
the internet?

Thanks,
Jeff

On Thu, Feb 12, 2009 at 11:09 PM, Zheng Shao <zs...@gmail.com> wrote:
> Hi Forbbs,
>
> You need to have access to the internet while building hive because it will
> try to download the hadoop distribution from the web.
>
> If you do not have access, you might still be able to do it. Please refer to
> the documentation of ivy.
>
> Zheng
>
> On Thu, Feb 12, 2009 at 10:39 PM, forbbs forbbs <bb...@gmail.com>wrote:
>
>> I asked hive-user, but no replies.
>>
>> ---------- Forwarded message ----------
>> From: forbbs forbbs <bb...@gmail.com>
>> Date: Mon, Feb 9, 2009 at 5:10 PM
>> Subject: hive installation can't find my installed hadoop.
>> To: hive-user@hadoop.apache.org
>>
>>
>> I got the source code by "svn co
>> http://svn.apache.org/repos/asf/hadoop/hive/trunk hive".
>>
>> When I run ant, it shows:
>> ......
>> [ivy:retrieve]         module not found: hadoop#core;0.19.0
>> [ivy:retrieve]     ==== hadoop-resolver: tried
>> [ivy:retrieve]       -- artifact hadoop#core;0.19.0!hadoop.tar.gz(source):
>> [ivy:retrieve]
>>
>> http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.gz
>> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]         ::          UNRESOLVED DEPENDENCIES         ::
>> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]         :: hadoop#core;0.19.0: not found
>> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
>> [ivy:retrieve]
>> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>> ......
>>
>>
>>
>> There is hadoop 0.19.0 installed on this computer. And I have set the
>> HADOOP_HOME and  HADOOP_VERSION environment variable correctly.
>> It seems that it can't find the installed hadoop, and try to download from
>> the web. But this computer can't access Internet.
>>
>
>
>
> --
> Yours,
> Zheng
>

Re: hive installation can't find my installed hadoop.

Posted by Zheng Shao <zs...@gmail.com>.
Hi Forbbs,

You need to have access to the internet while building hive because it will
try to download the hadoop distribution from the web.

If you do not have access, you might still be able to do it. Please refer to
the documentation of ivy.

Zheng

On Thu, Feb 12, 2009 at 10:39 PM, forbbs forbbs <bb...@gmail.com>wrote:

> I asked hive-user, but no replies.
>
> ---------- Forwarded message ----------
> From: forbbs forbbs <bb...@gmail.com>
> Date: Mon, Feb 9, 2009 at 5:10 PM
> Subject: hive installation can't find my installed hadoop.
> To: hive-user@hadoop.apache.org
>
>
> I got the source code by "svn co
> http://svn.apache.org/repos/asf/hadoop/hive/trunk hive".
>
> When I run ant, it shows:
> ......
> [ivy:retrieve]         module not found: hadoop#core;0.19.0
> [ivy:retrieve]     ==== hadoop-resolver: tried
> [ivy:retrieve]       -- artifact hadoop#core;0.19.0!hadoop.tar.gz(source):
> [ivy:retrieve]
>
> http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.gz
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]         ::          UNRESOLVED DEPENDENCIES         ::
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]         :: hadoop#core;0.19.0: not found
> [ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve]
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> ......
>
>
>
> There is hadoop 0.19.0 installed on this computer. And I have set the
> HADOOP_HOME and  HADOOP_VERSION environment variable correctly.
> It seems that it can't find the installed hadoop, and try to download from
> the web. But this computer can't access Internet.
>



-- 
Yours,
Zheng

Re: hive installation can't find my installed hadoop.

Posted by Edward Capriolo <ed...@gmail.com>.
I often work on HIve on the train ride home :) You only need to
download the ivy stuff once.

Go online
ant

Go offline
ant -Doffline=true

In my experience 'ant clean' leaves the downloaded hadoop.

Enjoy

RE: hive installation can't find my installed hadoop.

Posted by Joydeep Sen Sarma <js...@facebook.com>.
This requires a -Dhadoop.root setting on ant and some modification of the build file (to turn off ivy). Let me get back on this once I can try it out. we can add an option to turn off ivy once this is figured out ..

-----Original Message-----
From: forbbs forbbs [mailto:bbsexclusive@gmail.com] 
Sent: Thursday, February 12, 2009 10:39 PM
To: hive-dev@hadoop.apache.org
Subject: hive installation can't find my installed hadoop.

I asked hive-user, but no replies.

---------- Forwarded message ----------
From: forbbs forbbs <bb...@gmail.com>
Date: Mon, Feb 9, 2009 at 5:10 PM
Subject: hive installation can't find my installed hadoop.
To: hive-user@hadoop.apache.org


I got the source code by "svn co
http://svn.apache.org/repos/asf/hadoop/hive/trunk hive".

When I run ant, it shows:
......
[ivy:retrieve]         module not found: hadoop#core;0.19.0
[ivy:retrieve]     ==== hadoop-resolver: tried
[ivy:retrieve]       -- artifact hadoop#core;0.19.0!hadoop.tar.gz(source):
[ivy:retrieve]
http://archive.apache.org/dist/hadoop/core/hadoop-0.19.0/hadoop-0.19.0.tar.gz
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         :: hadoop#core;0.19.0: not found
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
......



There is hadoop 0.19.0 installed on this computer. And I have set the
HADOOP_HOME and  HADOOP_VERSION environment variable correctly.
It seems that it can't find the installed hadoop, and try to download from
the web. But this computer can't access Internet.