hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anoop Sam John <anoo...@huawei.com>
Subject RE: Truncate hbase table based on column family
Date Tue, 26 Mar 2013 09:16:06 GMT
varaprasad
     Pls see HBaseAdmin#deleteColumn()..  You should disable the table before making an schema
changes and enable back after that.

-Anoop-

________________________________________
From: varaprasad.bheri@polarisFT.com [varaprasad.bheri@polarisFT.com]
Sent: Tuesday, March 26, 2013 2:15 PM
To: user@hbase.apache.org
Subject: Re: Truncate hbase table based on column family

Yes. If there is a table having data in column families F1, F2. I want to truncate the data
of column family F1 alone.
Is it possible?


Thanks & Regards,
Varaprasada Reddy

-----Ted Yu <yuzhihong@gmail.com> wrote: -----
To: user@hbase.apache.org
From: Ted Yu <yuzhihong@gmail.com>
Date: 03/20/2013 08:12PM
Subject: Re: Truncate hbase table based on column family

Can you clarify your question ?

Did you mean that you only want to drop certain column families ?

Thanks

On Wed, Mar 20, 2013 at 7:15 AM, <varaprasad.bheri@polarisft.com> wrote:

> Hi All,
>
> Can we truncate a table in hbase based on the column family.
> Please give your comments.
>
>
> Thanks & Regards,
> Varaprasada Reddy
>
>
> This e-Mail may contain proprietary and confidential information and is
> sent for the intended recipient(s) only.  If by an addressing or
> transmission error this mail has been misdirected to you, you are requested
> to delete this mail immediately. You are also hereby notified that any use,
> any form of reproduction, dissemination, copying, disclosure, modification,
> distribution and/or publication of this e-mail message, contents or its
> attachment other than by its intended recipient/s is strictly prohibited.
>
> Visit us at http://www.polarisFT.com
>


This e-Mail may contain proprietary and confidential information and is sent for the intended
recipient(s) only.  If by an addressing or transmission error this mail has been misdirected
to you, you are requested to delete this mail immediately. You are also hereby notified that
any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution
and/or publication of this e-mail message, contents or its attachment other than by its intended
recipient/s is strictly prohibited.

Visit us at http://www.polarisFT.com
Mime
View raw message