public static Set<RegionInfo> filterNonFNApplicableRegions(Collection<RegionInfo> regions) {
    return regions.stream().filter(r -> !isFavoredNodeApplicable(r)).collect(Collectors.toSet());
  }
Filter and return regions for which favored nodes is not applicable.
@return set of regions for which favored nodes is not applicable
hbase-balancer/src/main/java/org/apache/hadoop/hbase/favored/FavoredNodesManager.java