hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <l...@worldlingo.com>
Subject Re: What's the best way to clear an Hbase table?
Date Thu, 09 Apr 2009 08:10:47 GMT
Hi Ron,

Just as a note, the shell's "truncate" call does exactly that, i.e. 
dropping and recreating the table.

Regards,
Lars


Taylor, Ronald C wrote:
>  
> Yep, that will work. I was just checking out the various ways of doing
> things.
> Ron
>
> -----Original Message-----
> From: saint.ack@gmail.com [mailto:saint.ack@gmail.com] On Behalf Of
> stack
> Sent: Wednesday, April 08, 2009 3:32 PM
> To: hbase-user@hadoop.apache.org
> Subject: Re: What's the best way to clear an Hbase table?
>
> On Thu, Apr 9, 2009 at 12:10 AM, Taylor, Ronald C
> <ronald.taylor@pnl.gov>wrote:
>
>   
>> Is there a better / faster way to clear a table? Or should I "clear" a
>>     
>
>   
>> table simply by disabling it, deleting it, and then using 
>> createTable() again with the original column settings?
>>
>>     
>
> I'd suggest doing the latter.  Will that work for you?
> St.Ack
>
>   

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message