public synchronized List<ServerName> getFavoredNodes(RegionInfo regionInfo) {
    return this.globalFavoredNodesAssignmentPlan.getFavoredNodes(regionInfo);
  }
Datanode port to be used for Favored Nodes.
hbase-balancer/src/main/java/org/apache/hadoop/hbase/favored/FavoredNodesManager.java