hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [44/49] hadoop git commit: HDFS-10547. DiskBalancer: fix whitespace issue in doc files. Contributed by Anu Engineer.
Date Fri, 24 Jun 2016 06:06:15 GMT
HDFS-10547. DiskBalancer: fix whitespace issue in doc files. Contributed by Anu Engineer.


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

Branch: refs/heads/trunk
Commit: c6ed54808d086fffbc1cdf25f602c78798de789a
Parents: 0774412
Author: Anu Engineer <aengineer@apache.org>
Authored: Mon Jun 20 09:48:34 2016 -0700
Committer: Arpit Agarwal <arp@apache.org>
Committed: Thu Jun 23 18:27:01 2016 -0700

----------------------------------------------------------------------
 .../src/site/markdown/HDFSCommands.md           |  2 +-
 .../src/site/markdown/HDFSDiskbalancer.md       | 25 ++++++++++++--------
 2 files changed, 16 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c6ed5480/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
index f868118..39e8991 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
@@ -436,7 +436,7 @@ Runs a HDFS dfsadmin client.
 Usage:
 
        hdfs diskbalancer
-         [-plan <datanode> -uri <namenodeURI>]
+         [-plan <datanode> -fs <namenodeURI>]
          [-execute <planfile>]
          [-query <datanode>]
          [-cancel <planfile>]

http://git-wip-us.apache.org/repos/asf/hadoop/blob/c6ed5480/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 388a4c6..522dc5a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
@@ -64,11 +64,11 @@ The following sections discusses what commands are supported by disk balancer
 
 | COMMAND\_OPTION    | Description |
 |:---- |:---- |
-| `-out`|	Allows user to control the output location of the plan file.|
-| `-bandwidth`|	Since datanode is operational and might be running other jobs, diskbalancer
limits the amount of data moved per second. This parameter allows user to set the maximum
bandwidth to be used. This is not required to be set since diskBalancer will use the deafult
bandwidth if this is not specified.|
-| `-thresholdPercentage`|	Since we operate against a snap-shot of datanode, themove operations
have a tolerance percentage to declare success. If user specifies 10% and move operation is
say 20GB in size, if we can move 18GB that operation is considered successful. This is to
accomodate the changes in datanode in real time. This parameter is not needed and a default
is used if not specified.|
-| `-maxerror` |	Max error allows users to specify how many block copy operations must fail
before we abort a move step. Once again, this is not a needed parameter and a system-default
is used if not specified.|
-| `-v`|	Verbose mode, specifying this parameter forces the plan command to print out a summary
of the plan on stdout.|
+| `-out`| Allows user to control the output location of the plan file.|
+| `-bandwidth`| Since datanode is operational and might be running other jobs, diskbalancer
limits the amount of data moved per second. This parameter allows user to set the maximum
bandwidth to be used. This is not required to be set since diskBalancer will use the deafult
bandwidth if this is not specified.|
+| `-thresholdPercentage`| Since we operate against a snap-shot of datanode, themove operations
have a tolerance percentage to declare success. If user specifies 10% and move operation is
say 20GB in size, if we can move 18GB that operation is considered successful. This is to
accomodate the changes in datanode in real time. This parameter is not needed and a default
is used if not specified.|
+| `-maxerror` | Max error allows users to specify how many block copy operations must fail
before we abort a move step. Once again, this is not a needed parameter and a system-default
is used if not specified.|
+| `-v`| Verbose mode, specifying this parameter forces the plan command to print out a summary
of the plan on stdout.|
 
 The plan command writes two output files. They are `<nodename>.before.json` which
 captures the state of the datanode before the diskbalancer is run, and `<nodename>.plan.json`.
@@ -89,7 +89,7 @@ Query command gets the current status of the diskbalancer from a datanode.
 
 | COMMAND\_OPTION | Description |
 |:---- |:---- |
-|`-v` |	Verbose mode, Prints out status of individual moves|
+|`-v` | Verbose mode, Prints out status of individual moves|
 
 
 ### Cancel
@@ -103,6 +103,11 @@ or
 
 Plan ID can be read from datanode using query command.
 
+### Report
+Report command provides detailed report about a node.
+
+`hdfs diskbalancer -fs http://namenode.uri -report -node {DataNodeID | IP | Hostname}`
+
 
 Settings
 --------
@@ -111,7 +116,7 @@ There is a set of diskbalancer settings that can be controlled via hdfs-site.xml
 
 | Setting | Description |
 |:---- |:---- |
-|`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.|
-|`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 sepcifies 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.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.|
+|`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 sepcifies 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.|


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


Mime
View raw message