Jean-Marc Spaggiari 2013-02-05, 16:13
Ted Yu 2013-02-05, 17:28
-RE: Empty a table
Tianying Chang 2013-02-05, 17:37
You can achieve this goal by deleting all the HFiles of this table. Remember just Hfile, but not the region folders. We did it before with a simple script that loop through the Hfiles, very easy.
From: Ted Yu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2013 9:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Empty a table
To my knowledge there is no such tool.
You can file a JIRA in case someone has bandwidth to work on such tool.
On Tue, Feb 5, 2013 at 8:13 AM, Jean-Marc Spaggiari <[EMAIL PROTECTED]
> Is there an easy way to empty a table but keep the regions? Truncate
> will remove everything even the splitting. But I want to keep the
> regions the way they are. I just want to clean them. Is there a simple
> way to do that with the shell or something like that?
Kevin Odell 2013-02-05, 17:38
Ted Yu 2013-02-05, 17:40
Jean-Marc Spaggiari 2013-02-05, 17:43
Andrew Purtell 2013-02-05, 18:36
Michael Segel 2013-02-07, 19:16
ramkrishna vasudevan 2013-02-08, 04:18
Jean-Marc Spaggiari 2013-02-07, 19:10