HDFS-10588. False alarm in datanode log - ERROR - Disk Balancer is not enabled. Contributed by Weiwei Yang.
This commit is contained in:
parent
438a9f047e
commit
18d9e6ec0b
@ -294,7 +294,6 @@ public long getBandwidth() throws DiskBalancerException {
|
||||
private void checkDiskBalancerEnabled()
|
||||
throws DiskBalancerException {
|
||||
if (!isDiskBalancerEnabled) {
|
||||
LOG.error("Disk Balancer is not enabled.");
|
||||
throw new DiskBalancerException("Disk Balancer is not enabled.",
|
||||
DiskBalancerException.Result.DISK_BALANCER_NOT_ENABLED);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user