You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2013/05/25 22:32:17 UTC
svn commit: r1486360 -
/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionStates.java
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>();
}