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

ramkrishna.s.vasudevan commented on HBASE-13501:
------------------------------------------------

bq.How is it used internally? To find the 'name' or region id?
The closeRegion API taking the HRegionInfo is internally called after the 
HRegionInfo is fetched from the MetaTableAccessor 
{code}
Pair<HRegionInfo, ServerName> pair = MetaTableAccessor.getRegion(connection, 
regionname);
{code}
The actual HBaseAdmin impl for the closeRegion taking HRegionInfo is this
{code}
    AdminService.BlockingInterface admin = this.connection.getAdmin(sn);
    // Close the region without updating zk state.
    ProtobufUtil.closeRegion(admin, sn, hri.getRegionName());
{code}

> Deprecate/Remove getComparator() in HRegionInfo.
> ------------------------------------------------
>
>                 Key: HBASE-13501
>                 URL: https://issues.apache.org/jira/browse/HBASE-13501
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 2.0.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to