hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-9590) TableEventHandler#reOpenAllRegions() should close the HTable instance
Date Fri, 20 Sep 2013 17:13:52 GMT

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

Jeffrey Zhong commented on HBASE-9590:
--------------------------------------

+1. 
                
> TableEventHandler#reOpenAllRegions() should close the HTable instance
> ---------------------------------------------------------------------
>
>                 Key: HBASE-9590
>                 URL: https://issues.apache.org/jira/browse/HBASE-9590
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 9590-v1.txt
>
>
> {code}
>     HTable table = new HTable(masterServices.getConfiguration(), tableName);
>     TreeMap<ServerName, List<HRegionInfo>> serverToRegions = Maps
>         .newTreeMap();
>     NavigableMap<HRegionInfo, ServerName> hriHserverMapping = table.getRegionLocations();
> {code}
> table should be closed.

--
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

Mime
View raw message