Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.9.0, 3.0.0-beta1
-
None
Description
In PlanCommand#getThresholdPercentage
private double getThresholdPercentage(CommandLine cmd) { .... if ((value <= 0.0) || (value > 100.0)) { value = getConf().getDouble( DFSConfigKeys.DFS_DISK_BALANCER_MAX_DISK_THRUPUT, DFSConfigKeys.DFS_DISK_BALANCER_MAX_DISK_THRUPUT_DEFAULT); } return value; }
DISK_THROUGHPUT has the unit of "MB", so it does not make sense to return throughput as a percentage value.
Btw, we should use THROUGHPUT instead of THRUPUT.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-10633 DiskBalancer : Add the description for the new setting dfs.disk.balancer.plan.threshold.percent in HDFSDiskbalancer.md
- Resolved