Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Truncate hbase table based on column family


Copy link to this message
-
RE: Truncate hbase table based on column family
varaprasad
     Pls see HBaseAdmin#deleteColumn()..  You should disable the table before making an schema changes and enable back after that.

-Anoop-

________________________________________
From: [EMAIL PROTECTED] [[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2013 2:15 PM
To: [EMAIL PROTECTED]
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 <[EMAIL PROTECTED]> wrote: -----
To: [EMAIL PROTECTED]
From: Ted Yu <[EMAIL PROTECTED]>
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, <[EMAIL PROTECTED]> 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