[ 
https://issues.apache.org/jira/browse/HBASE-4991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194267#comment-13194267
 ] 

Jonathan Hsieh commented on HBASE-4991:
---------------------------------------

Oops -- wasn't looking at the comment tab.

There is similar code in OnlineMerge and uber hbck.

The code in uber hbck creates a new empty region, closes old regions,  moves 
data into the new empty region, and then activates the new now populated region.

Beware -- I found just closing a region seems to have left data around in the 
HMaster's memory which cause disabling to have problems in the 0.90.x version.  
I'm in the process of porting to trunk/0.92 currently and am finding out if 
there are similar or different problems.  I think I saw something else in 
closeRegion recently that I need to try out -- don't remember which version 
that is however.

                
> Provide capability to delete named region
> -----------------------------------------
>
>                 Key: HBASE-4991
>                 URL: https://issues.apache.org/jira/browse/HBASE-4991
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>
> See discussion titled 'Able to control routing to Solr shards or not' on 
> lily-discuss
> User may want to quickly dispose of out of date records by deleting specific 
> regions. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to