hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1486360 - /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
Date Sat, 25 May 2013 20:32:17 GMT
Author: stack
Date: Sat May 25 20:32:16 2013
New Revision: 1486360

URL: http://svn.apache.org/r1486360
Log:
HBASE-8618 Master is providing dead RegionServer ServerName's to the balancer

Modified:
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java?rev=1486360&r1=1486359&r2=1486360&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
Sat May 25 20:32:16 2013
@@ -343,7 +343,7 @@ public class RegionStates {
     // Clean up this server from map of servers to regions, and remove all regions
     // of this server from online map of regions.
     List<HRegionInfo> rits = new ArrayList<HRegionInfo>();
-    Set<HRegionInfo> assignedRegions = serverHoldings.get(sn);
+    Set<HRegionInfo> assignedRegions = serverHoldings.remove(sn);
     if (assignedRegions == null) {
       assignedRegions = new HashSet<HRegionInfo>();
     }



Mime
View raw message