HBASE-8618 Master is providing dead RegionServer ServerName's to the balancer

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1486359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-05-25 20:31:44 +00:00
parent 02185f4170
commit 21f80b2cd4
1 changed files with 1 additions and 1 deletions

View File

@ -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>();
}