public void updateAssignmentPlan(FavoredNodesPlan plan) throws IOException {
    LOG.info("Start to update the new assignment plan for the hbase:meta table and"
      + " the region servers");
    // Update the new assignment plan to META
    updateAssignmentPlanToMeta(plan);
    // Update the new assignment plan to Region Servers
    updateAssignmentPlanToRegionServers(plan);
    LOG.info("Finish to update the new assignment plan for the hbase:meta table and"
      + " the region servers");
  }
Update the assignment plan to all the region servers
hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionPlacementMaintainer.java