hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9590) TableEventHandler#reOpenAllRegions() should close the HTable instance
Date Sat, 19 Oct 2013 18:42:42 GMT

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

Ted Yu updated HBASE-9590:
--------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> 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: Trivial
>             Fix For: 0.98.0
>
>         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 was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message