HBASE-24569 Get hostAndWeights in addition using localhost if it is null in local...
commitee450ae94370fb047a3d60883c0ae6016eac13e4
authorZheng Wang <18031031@qq.com>
Tue, 1 Sep 2020 10:21:33 +0000 (1 15:51 +0530)
committerViraj Jasani <vjasani@apache.org>
Tue, 1 Sep 2020 12:46:10 +0000 (1 18:16 +0530)
tree73046e51b6c17eea8e4bbf0b0354493b6a410695
parent979edfe72046b2075adcc869c65ae820e6f3ec2d
HBASE-24569 Get hostAndWeights in addition using localhost if it is null in local mode

Closes #1909

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
hbase-server/src/main/java/org/apache/hadoop/hbase/HDFSBlocksDistribution.java
hbase-server/src/test/java/org/apache/hadoop/hbase/TestHDFSBlocksDistribution.java