diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index e38136554f8..3dcdecd8897 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -27,6 +27,9 @@ Release 0.23.1 - Unreleased HADOOP-7804. Enable hadoop config generator to set configurations to enable short circuit read. (Arpit Gupta via jitendra) + HADOOP-7877. Update balancer CLI usage documentation to include the new + -policy option. (szetszwo) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/commands_manual.xml b/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/commands_manual.xml index b46b1285a17..b3f25af40e4 100644 --- a/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/commands_manual.xml +++ b/hadoop-common-project/hadoop-common/src/main/docs/src/documentation/content/xdocs/commands_manual.xml @@ -445,14 +445,22 @@ Rebalancer.

- Usage: hadoop balancer [-threshold <threshold>] + Usage: hadoop balancer [-policy <blockpool|datanode>] [-threshold <threshold>]

- + + + + - +
COMMAND_OPTION Description
-policy <blockpool|datanode>The balancing policy. +
datanode: Cluster is balance if the disk usage of each datanode is balance. +
blockpool: Cluster is balance if the disk usage of each block pool in each datanode is balance. +
Note that blockpool is a condition stronger than datanode. + The default policy is datanode. +
-threshold <threshold>Percentage of disk capacity. This overwrites the default threshold.Percentage of disk capacity. This default threshold is 10%.