HBASE-9552. NPE while updating RegionServers with the favored nodes assignments.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1523849 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c26a69f23e
commit
a61c9beeeb
|
@ -685,10 +685,10 @@ public class RegionPlacementMaintainer {
|
|||
}
|
||||
// Update the single server update
|
||||
singleServerPlan.updateAssignmentPlan(region, favoredServerList);
|
||||
}
|
||||
regionUpdateInfos.add(
|
||||
new Pair<HRegionInfo, List<ServerName>>(region, favoredServerList));
|
||||
}
|
||||
}
|
||||
if (singleServerPlan != null) {
|
||||
// Update the current region server with its updated favored nodes
|
||||
BlockingInterface currentRegionServer = connection.getAdmin(entry.getKey());
|
||||
|
|
Loading…
Reference in New Issue