Skip to content

Commit 1e7a46b

Browse files
GuoPhilipsesunchao
authored andcommitted
HDFS-16328. Correct disk balancer desc (#3669)
Signed-off-by: Akira Ajisaka <aajisaka@apache.org> (cherry picked from commit 0c1eb01)
1 parent bf37c64 commit 1e7a46b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ A plan is a set of statements that describe how much data should move between tw
3737
A plan is composed of multiple move steps. A move step has source disk, destination
3838
disk and number of bytes to move. A plan can be executed against an operational data node. Disk balancer should not
3939
interfere with other processes since it throttles how much data is copied
40-
every second. Please note that disk balancer is not enabled by default on a cluster.
41-
To enable diskbalancer `dfs.disk.balancer.enabled` must be set to `true` in hdfs-site.xml.
40+
every second. Please note that disk balancer is enabled by default on a cluster.
4241

4342

4443
Commands
@@ -123,7 +122,7 @@ There is a set of diskbalancer settings that can be controlled via hdfs-site.xml
123122

124123
| Setting | Description |
125124
|:---- |:---- |
126-
|`dfs.disk.balancer.enabled`| This parameter controls if diskbalancer is enabled for a cluster. if this is not enabled, any execute command will be rejected by the datanode.The default value is false.|
125+
|`dfs.disk.balancer.enabled`| This parameter controls if diskbalancer is enabled for a cluster. if this is not enabled, any execute command will be rejected by the datanode.The default value is true.|
127126
|`dfs.disk.balancer.max.disk.throughputInMBperSec` | This controls the maximum disk bandwidth consumed by diskbalancer while copying data. If a value like 10MB is specified then diskbalancer on the average will only copy 10MB/S. The default value is 10MB/S.|
128127
|`dfs.disk.balancer.max.disk.errors`| sets the value of maximum number of errors we can ignore for a specific move between two disks before it is abandoned. For example, if a plan has 3 pair of disks to copy between , and the first disk set encounters more than 5 errors, then we abandon the first copy and start the second copy in the plan. The default value of max errors is set to 5.|
129128
|`dfs.disk.balancer.block.tolerance.percent`| The tolerance percent specifies when we have reached a good enough value for any copy step. For example, if you specify 10% then getting close to 10% of the target value is good enough.|

0 commit comments

Comments
 (0)