@Override
  boolean isNeeded() {
    return cluster.hasRegionReplicas;
  }
Compute the cost of a potential cluster state from skew in number of primary regions on a
cluster.
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/PrimaryRegionCountSkewCostFunction.java