hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: How to add family on HBase-0.90.2
Date Tue, 12 Apr 2011 23:44:50 GMT
No, all I say is that you don't need the METHOD, eg this will work in
both 0.20 and 0.90:

>alter 'cjjHTML', {NAME => 'responseHeader'}

J-D

On Tue, Apr 12, 2011 at 4:39 PM, 陈加俊 <cjjvictory@gmail.com> wrote:
> So there is no method to add family for a table?
> I need to drop the table and create it If I want to add another family to a
> table ? How to keep the data in the table before?
>
> On Wed, Apr 13, 2011 at 2:31 AM, Jean-Daniel Cryans <jdcryans@apache.org>wrote:
>
>> No need to specify the method for adding, it wasn't required in 0.20.6
>> either so if it was accepting it it was a bug.
>>
>> J-D
>>
>> On Tue, Apr 12, 2011 at 1:54 AM, 陈加俊 <cjjvictory@gmail.com> wrote:
>> >  I can add family by follow command In HBase-0.20.6
>> >
>> >>alter 'cjjHTML', {NAME => 'responseHeader', METHOD => 'add'}
>> >
>> > But in HBase-0.90.2 I can't do it . How ?
>> >
>> > --
>> > Thanks & Best regards
>> > jiajun
>> >
>>
>
>
>
> --
> Thanks & Best regards
> jiajun
>

Mime
View raw message