Class RegionReplicaHostCostFunction


A cost function for region replicas. We give a very high cost to hosting replicas of the same region in the same host. We do not prevent the case though, since if numReplicas > numRegionServers, we still want to keep the replica open.