hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1525640 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/TableEventHandler.java
Date Mon, 23 Sep 2013 16:37:23 GMT
Author: tedyu
Date: Mon Sep 23 16:37:23 2013
New Revision: 1525640

URL: http://svn.apache.org/r1525640
Log:
HBASE-9590 TableEventHandler#reOpenAllRegions() should close the HTable instance


Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/TableEventHandler.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/TableEventHandler.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/TableEventHandler.java?rev=1525640&r1=1525639&r2=1525640&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/TableEventHandler.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/master/handler/TableEventHandler.java
Mon Sep 23 16:37:23 2013
@@ -173,6 +173,7 @@ public abstract class TableEventHandler 
     TreeMap<ServerName, List<HRegionInfo>> serverToRegions = Maps
         .newTreeMap();
     NavigableMap<HRegionInfo, ServerName> hriHserverMapping = table.getRegionLocations();
+    table.close();
     List<HRegionInfo> reRegions = new ArrayList<HRegionInfo>();
     for (HRegionInfo hri : regions) {
       ServerName rsLocation = hriHserverMapping.get(hri);



Mime
View raw message