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,9 +685,9 @@ public class RegionPlacementMaintainer {
|
||||||
}
|
}
|
||||||
// Update the single server update
|
// Update the single server update
|
||||||
singleServerPlan.updateAssignmentPlan(region, favoredServerList);
|
singleServerPlan.updateAssignmentPlan(region, favoredServerList);
|
||||||
}
|
regionUpdateInfos.add(
|
||||||
regionUpdateInfos.add(
|
|
||||||
new Pair<HRegionInfo, List<ServerName>>(region, favoredServerList));
|
new Pair<HRegionInfo, List<ServerName>>(region, favoredServerList));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (singleServerPlan != null) {
|
if (singleServerPlan != null) {
|
||||||
// Update the current region server with its updated favored nodes
|
// Update the current region server with its updated favored nodes
|
||||||
|
|
Loading…
Reference in New Issue