You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Peter Marron <Pe...@trilliumsoftware.com> on 2014/01/28 11:39:15 UTC

Building Hive

Hi,

So I can see from http://hive.apache.org/downloads.html
that I can download versions 11 and 12 and they will work with
Hadoop 1.0.4 which I am currently using.

So if I want to start stepping through the source, to look into
my problem with indexes, should I try and build version 11 or 12 with Ant?

I don't really want to expend a lot of time setting up a build environment
with Ant knowing that it's all been superseded for later versions.

So maybe I am better off moving to version 13 so that I can build with Maven?

If I do move to version 13 will it work over Hadoop 1.0.4?
If it does work will I have to re-build my metastore?

Any recommendations?

Peter Marron

Office: +44 (0) 118-940-7609  peter.marron@trilliumsoftware.com<ma...@trilliumsoftware.com>
Theale Court First Floor, 11-13 High Street, Theale, RG7 5AH, UK
[cid:image009.png@01CF1C15.2F04D310]

[cid:image010.png@01CF1C15.2F04D310]<https://www.facebook.com/pages/Trillium-Software/109184815778307>

[cid:image011.png@01CF1C15.2F04D310]<https://twitter.com/TrilliumSW>

[cid:image012.png@01CF1C15.2F04D310]<http://www.linkedin.com/company/17710>


www.trilliumsoftware.com<http://www.trilliumsoftware.com/>

Be Certain About Your Data. Be Trillium Certain.


Re: Building Hive

Posted by Stephen Sprague <sp...@gmail.com>.
you => useful.  the rest of us schmucks => enlightened. seems like a fair
trade-off. :)


On Tue, Jan 28, 2014 at 2:26 PM, Lefty Leverenz <le...@gmail.com>wrote:

> > ... probably should have known that already.
>
> Oh sure, assuming you spend your spare time reading release notes or
> browsing the Hive wiki.  Instead you've given me a chance to publicize Hive
> Schema Tool which makes me feel useful, so thanks.
>
>  Now all you need is answers to your other questions....
>
> -- Lefty
>
>
> On Tue, Jan 28, 2014 at 3:47 AM, Peter Marron <
> Peter.Marron@trilliumsoftware.com> wrote:
>
>>  Ah, thank you.
>>
>> I think that I probably should have known that already.
>>
>> Z
>>
>>
>>
>> *From:* Lefty Leverenz [mailto:leftyleverenz@gmail.com]
>> *Sent:* 28 January 2014 11:05
>> *To:* user@hive.apache.org
>> *Subject:* Re: Building Hive
>>
>>
>>
>> I can only answer your last question about rebuilding the metastore:  a
>> new Hive schema tool can do that for you, as described in the wiki here<https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool#HiveSchemaTool-TheHiveSchemaTool>
>> .
>>
>>
>>
>> This tool can be used to initialize the metastore schema for the current
>> Hive version. It can also handle upgrading the schema from an older version
>> to current. It tries to find the current schema from the metastore if it is
>> available. This will be applicable to future upgrades like 0.12.0 to
>> 0.13.0. In case of upgrades from older releases like 0.7.0 or 0.10.0, you
>> can specify the schema version of the existing metastore as a command line
>> option to the tool.
>>
>>
>>   -- Lefty
>>
>>
>>
>> On Tue, Jan 28, 2014 at 2:39 AM, Peter Marron <
>> Peter.Marron@trilliumsoftware.com> wrote:
>>
>> Hi,
>>
>>
>>
>> So I can see from http://hive.apache.org/downloads.html
>>
>> that I can download versions 11 and 12 and they will work with
>>
>> Hadoop 1.0.4 which I am currently using.
>>
>>
>>
>> So if I want to start stepping through the source, to look into
>>
>> my problem with indexes, should I try and build version 11 or 12 with Ant?
>>
>>
>>
>> I don't really want to expend a lot of time setting up a build environment
>>
>> with Ant knowing that it's all been superseded for later versions.
>>
>>
>>
>> So maybe I am better off moving to version 13 so that I can build with
>> Maven?
>>
>>
>>
>> If I do move to version 13 will it work over Hadoop 1.0.4?
>>
>> If it does work will I have to re-build my metastore?
>>
>>
>>
>> Any recommendations?
>>
>>
>>
>> *Peter Marron*
>>
>>
>>
>> Office: +44 *(0) 118-940-7609*  peter.marron@trilliumsoftware.com
>>
>> Theale Court First Floor, 11-13 High Street, Theale, RG7 5AH, UK
>>
>>    <https://www.facebook.com/pages/Trillium-Software/109184815778307>
>>
>>  <https://twitter.com/TrilliumSW>
>>
>>  <http://www.linkedin.com/company/17710>
>>
>>
>>
>> *www.trilliumsoftware.com <http://www.trilliumsoftware.com/>*
>>
>> Be Certain About Your Data. Be Trillium Certain.
>>
>>
>>
>>
>>
>
>

Re: Building Hive

Posted by Lefty Leverenz <le...@gmail.com>.
> ... probably should have known that already.

Oh sure, assuming you spend your spare time reading release notes or
browsing the Hive wiki.  Instead you've given me a chance to publicize Hive
Schema Tool which makes me feel useful, so thanks.

Now all you need is answers to your other questions....

-- Lefty


On Tue, Jan 28, 2014 at 3:47 AM, Peter Marron <
Peter.Marron@trilliumsoftware.com> wrote:

>  Ah, thank you.
>
> I think that I probably should have known that already.
>
> Z
>
>
>
> *From:* Lefty Leverenz [mailto:leftyleverenz@gmail.com]
> *Sent:* 28 January 2014 11:05
> *To:* user@hive.apache.org
> *Subject:* Re: Building Hive
>
>
>
> I can only answer your last question about rebuilding the metastore:  a
> new Hive schema tool can do that for you, as described in the wiki here<https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool#HiveSchemaTool-TheHiveSchemaTool>
> .
>
>
>
> This tool can be used to initialize the metastore schema for the current
> Hive version. It can also handle upgrading the schema from an older version
> to current. It tries to find the current schema from the metastore if it is
> available. This will be applicable to future upgrades like 0.12.0 to
> 0.13.0. In case of upgrades from older releases like 0.7.0 or 0.10.0, you
> can specify the schema version of the existing metastore as a command line
> option to the tool.
>
>
>   -- Lefty
>
>
>
> On Tue, Jan 28, 2014 at 2:39 AM, Peter Marron <
> Peter.Marron@trilliumsoftware.com> wrote:
>
> Hi,
>
>
>
> So I can see from http://hive.apache.org/downloads.html
>
> that I can download versions 11 and 12 and they will work with
>
> Hadoop 1.0.4 which I am currently using.
>
>
>
> So if I want to start stepping through the source, to look into
>
> my problem with indexes, should I try and build version 11 or 12 with Ant?
>
>
>
> I don't really want to expend a lot of time setting up a build environment
>
> with Ant knowing that it's all been superseded for later versions.
>
>
>
> So maybe I am better off moving to version 13 so that I can build with
> Maven?
>
>
>
> If I do move to version 13 will it work over Hadoop 1.0.4?
>
> If it does work will I have to re-build my metastore?
>
>
>
> Any recommendations?
>
>
>
> *Peter Marron*
>
>
>
> Office: +44 *(0) 118-940-7609*  peter.marron@trilliumsoftware.com
>
> Theale Court First Floor, 11-13 High Street, Theale, RG7 5AH, UK
>
>    <https://www.facebook.com/pages/Trillium-Software/109184815778307>
>
>  <https://twitter.com/TrilliumSW>
>
>  <http://www.linkedin.com/company/17710>
>
>
>
> *www.trilliumsoftware.com <http://www.trilliumsoftware.com/>*
>
> Be Certain About Your Data. Be Trillium Certain.
>
>
>
>
>

RE: Building Hive

Posted by Peter Marron <Pe...@trilliumsoftware.com>.
Ah, thank you.
I think that I probably should have known that already.
Z

From: Lefty Leverenz [mailto:leftyleverenz@gmail.com]
Sent: 28 January 2014 11:05
To: user@hive.apache.org
Subject: Re: Building Hive

I can only answer your last question about rebuilding the metastore:  a new Hive schema tool can do that for you, as described in the wiki here<https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool#HiveSchemaTool-TheHiveSchemaTool>.

This tool can be used to initialize the metastore schema for the current Hive version. It can also handle upgrading the schema from an older version to current. It tries to find the current schema from the metastore if it is available. This will be applicable to future upgrades like 0.12.0 to 0.13.0. In case of upgrades from older releases like 0.7.0 or 0.10.0, you can specify the schema version of the existing metastore as a command line option to the tool.

-- Lefty

On Tue, Jan 28, 2014 at 2:39 AM, Peter Marron <Pe...@trilliumsoftware.com>> wrote:
Hi,

So I can see from http://hive.apache.org/downloads.html
that I can download versions 11 and 12 and they will work with
Hadoop 1.0.4 which I am currently using.

So if I want to start stepping through the source, to look into
my problem with indexes, should I try and build version 11 or 12 with Ant?

I don't really want to expend a lot of time setting up a build environment
with Ant knowing that it's all been superseded for later versions.

So maybe I am better off moving to version 13 so that I can build with Maven?

If I do move to version 13 will it work over Hadoop 1.0.4?
If it does work will I have to re-build my metastore?

Any recommendations?

Peter Marron

Office: +44 (0) 118-940-7609  peter.marron@trilliumsoftware.com<ma...@trilliumsoftware.com>
Theale Court First Floor, 11-13 High Street, Theale, RG7 5AH, UK
[cid:image001.png@01CF1C1E.AFD915B0]

[cid:image002.png@01CF1C1E.AFD915B0]<https://www.facebook.com/pages/Trillium-Software/109184815778307>

[cid:image003.png@01CF1C1E.AFD915B0]<https://twitter.com/TrilliumSW>

[cid:image004.png@01CF1C1E.AFD915B0]<http://www.linkedin.com/company/17710>


www.trilliumsoftware.com<http://www.trilliumsoftware.com/>

Be Certain About Your Data. Be Trillium Certain.



Re: Building Hive

Posted by Lefty Leverenz <le...@gmail.com>.
I can only answer your last question about rebuilding the metastore:  a new
Hive schema tool can do that for you, as described in the wiki
here<https://cwiki.apache.org/confluence/display/Hive/Hive+Schema+Tool#HiveSchemaTool-TheHiveSchemaTool>
.

This tool can be used to initialize the metastore schema for the current
> Hive version. It can also handle upgrading the schema from an older version
> to current. It tries to find the current schema from the metastore if it is
> available. This will be applicable to future upgrades like 0.12.0 to
> 0.13.0. In case of upgrades from older releases like 0.7.0 or 0.10.0, you
> can specify the schema version of the existing metastore as a command line
> option to the tool.
>

-- Lefty


On Tue, Jan 28, 2014 at 2:39 AM, Peter Marron <
Peter.Marron@trilliumsoftware.com> wrote:

>  Hi,
>
>
>
> So I can see from http://hive.apache.org/downloads.html
>
> that I can download versions 11 and 12 and they will work with
>
> Hadoop 1.0.4 which I am currently using.
>
>
>
> So if I want to start stepping through the source, to look into
>
> my problem with indexes, should I try and build version 11 or 12 with Ant?
>
>
>
> I don't really want to expend a lot of time setting up a build environment
>
> with Ant knowing that it's all been superseded for later versions.
>
>
>
> So maybe I am better off moving to version 13 so that I can build with
> Maven?
>
>
>
> If I do move to version 13 will it work over Hadoop 1.0.4?
>
> If it does work will I have to re-build my metastore?
>
>
>
> Any recommendations?
>
>
>
> *Peter Marron*
>
>
>
> Office: +44 *(0) 118-940-7609*  peter.marron@trilliumsoftware.com
>
> Theale Court First Floor, 11-13 High Street, Theale, RG7 5AH, UK
>
>    <https://www.facebook.com/pages/Trillium-Software/109184815778307>
>
>  <https://twitter.com/TrilliumSW>
>
>  <http://www.linkedin.com/company/17710>
>
>
>
> *www.trilliumsoftware.com <http://www.trilliumsoftware.com/>*
>
> Be Certain About Your Data. Be Trillium Certain.
>
>
>