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:
parent
02185f4170
commit
21f80b2cd4
|
@ -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>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue