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

Zhihong Yu commented on HBASE-4991:
-----------------------------------

@Todd:
In HMasterInterface, there is already API exposing the concept of regions:
{code}
  public void move(final byte [] encodedRegionName, final byte [] 
destServerName)
  throws UnknownRegionException;
{code}
In this regard, the new API doesn't expose newer concept:
{code}
  public void deleteRegion(List<byte[]> encodedRegionNameList)
{code}
The above is, I think, equivalent to deleteRange() you proposed. Maybe the 
above is better in that we don't need to validate that startKey is the first 
key of some region, etc.
I think splitting the underlying region(s) of specified table in case startKey 
is not the first key is outside the scope of this JIRA.

For use case, we have an internal team which requests this feature. They can 
manage to age the data in selected regions such that they can drop whole 
region(s) quickly.

                
> 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
>            Assignee: Mubarak Seyed
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4991.trunk.v1.patch, HBASE-4991.trunk.v2.patch
>
>
> 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