HDFS-10633. DiskBalancer : Add the description for the new setting 
dfs.disk.balancer.plan.threshold.percent in HDFSDiskbalancer.md. Contributed by 
Yiqun Lin.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/34173a42
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/34173a42
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/34173a42

Branch: refs/heads/HDFS-10285
Commit: 34173a42d450350982a99e673a36f15215c564bf
Parents: 808f5d8
Author: Anu Engineer <[email protected]>
Authored: Tue Nov 1 11:14:03 2016 -0700
Committer: Anu Engineer <[email protected]>
Committed: Tue Nov 1 11:14:03 2016 -0700

----------------------------------------------------------------------
 .../hadoop-hdfs/src/main/resources/hdfs-default.xml            | 6 ++++--
 .../hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md          | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/34173a42/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
index e28dc54..02c36cf 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
@@ -4294,8 +4294,10 @@
     <name>dfs.disk.balancer.plan.threshold.percent</name>
     <value>10</value>
     <description>
-        The percentage that disk tolerance that we are ok with in
-      a plan.
+      The percentage threshold value for volume Data Density in a plan.
+      If the absolute value of volume Data Density which is out of
+      threshold value in a node, it means that the volumes corresponding to
+      the disks should do the balancing in the plan. The default value is 10.
     </description>
   </property>
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/34173a42/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md 
b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
index dfb43b6..b7e55cb 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
@@ -125,6 +125,7 @@ There is a set of diskbalancer settings that can be 
controlled via hdfs-site.xml
 |`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.|
 |`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.|
 |`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.|
+|`dfs.disk.balancer.plan.threshold.percent`| The percentage threshold value 
for volume Data Density in a plan. If the absolute value of volume Data Density 
which is out of threshold value in a node, it means that the volumes 
corresponding to the disks should do the balancing in the plan. The default 
value is 10.|
 
  Debugging
 ---------


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to