public Map<String, HostAndWeight> getHostAndWeights() {
    return this.hostAndWeights;
  }
Returns the hosts and their weights
hbase-common/src/main/java/org/apache/hadoop/hbase/HDFSBlocksDistribution.java