You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by va...@polarisFT.com on 2013/03/20 15:15:31 UTC
Truncate hbase table based on column family
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
RE: Truncate hbase table based on column family
Posted by Anoop Sam John <an...@huawei.com>.
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 <yu...@gmail.com> wrote: -----
To: user@hbase.apache.org
From: Ted Yu <yu...@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, <va...@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
Re: Truncate hbase table based on column family
Posted by va...@polarisFT.com.
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 <yu...@gmail.com> wrote: -----
To: user@hbase.apache.org
From: Ted Yu <yu...@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, <va...@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
Re: Truncate hbase table based on column family
Posted by Ted Yu <yu...@gmail.com>.
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, <va...@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
>