HDFS-13235. DiskBalancer: Update Documentation to add newly added options. 
Contributed by Bharat Viswanadham.


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

Branch: refs/heads/HDFS-7240
Commit: 39537b7c84dddfa8084308459565ab77fd24abd3
Parents: 9d6994d
Author: Arpit Agarwal <a...@apache.org>
Authored: Tue Mar 13 16:35:51 2018 -0700
Committer: Arpit Agarwal <a...@apache.org>
Committed: Tue Mar 13 16:35:51 2018 -0700

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/39537b7c/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 2d3c5e7..f90daba 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
@@ -4651,9 +4651,9 @@
     <name>dfs.disk.balancer.plan.valid.interval</name>
     <value>1d</value>
     <description>
-      Maximum number of hours the disk balancer plan is valid.
-      This setting supports multiple time unit suffixes as described
-      in dfs.heartbeat.interval. If no suffix is specified then milliseconds
+      Maximum amount of time disk balancer plan is valid. This setting
+      supports multiple time unit suffixes as described in
+      dfs.heartbeat.interval. If no suffix is specified then milliseconds
       is assumed.
     </description>
   </property>

http://git-wip-us.apache.org/repos/asf/hadoop/blob/39537b7c/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 6e1bd41..ed0233a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
@@ -79,6 +79,10 @@ Execute command takes a plan command executes it against the 
datanode that plan
 
 This executes the plan by reading datanode’s address from the plan file.
 
+| COMMAND\_OPTION    | Description |
+|:---- |:---- |
+| `-skipDateCheck` |  Skip date check and force execute the plan.|
+
 ### Query
 
 Query command gets the current status of the diskbalancer from a datanode.
@@ -122,7 +126,7 @@ There is a set of diskbalancer settings that can be 
controlled via hdfs-site.xml
 |`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.|
-
+|`dfs.disk.balancer.plan.valid.interval`| Maximum amount of time disk balancer 
plan is valid. Supports the following suffixes (case insensitive): ms(millis), 
s(sec), m(min), h(hour), d(day) to specify the time (such as 2s, 2m, 1h, etc.). 
If no suffix is specified then milliseconds is assumed. Default value is 1d|
  Debugging
 ---------
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to