[ 
https://issues.apache.org/jira/browse/HBASE-5525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Odell updated HBASE-5525:
-------------------------------

    Attachment: HBASE-5525.patch

So I added a new command truncate_preserve, it seemed to fit with the flow of 
the other commands:

disable_all 
disable_peer

enable_all
enable_peer

alter
alter_async
alter_status

I am not too attached to the name so I am open for suggestions.  I tested this 
out by altering the ruby code on my box and it worked.  Let me know if you see 
anything strange.
                
> Truncate and preserve region boundaries option
> ----------------------------------------------
>
>                 Key: HBASE-5525
>                 URL: https://issues.apache.org/jira/browse/HBASE-5525
>             Project: HBase
>          Issue Type: New Feature
>            Reporter: Jean-Daniel Cryans
>            Assignee: Kevin Odell
>              Labels: newbie, noob
>         Attachments: HBASE-5525.patch
>
>
> A tool that would be useful for testing (and maybe in prod too) would be a 
> truncate option to keep the current region boundaries. Right now what you 
> have to do is completely kill the table and recreate it with the correct 
> regions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to