|
@@ -294,7 +294,6 @@ public class DiskBalancer {
|
|
private void checkDiskBalancerEnabled()
|
|
private void checkDiskBalancerEnabled()
|
|
throws DiskBalancerException {
|
|
throws DiskBalancerException {
|
|
if (!isDiskBalancerEnabled) {
|
|
if (!isDiskBalancerEnabled) {
|
|
- LOG.error("Disk Balancer is not enabled.");
|
|
|
|
throw new DiskBalancerException("Disk Balancer is not enabled.",
|
|
throw new DiskBalancerException("Disk Balancer is not enabled.",
|
|
DiskBalancerException.Result.DISK_BALANCER_NOT_ENABLED);
|
|
DiskBalancerException.Result.DISK_BALANCER_NOT_ENABLED);
|
|
}
|
|
}
|