hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [3/4] hadoop git commit: HDFS-10547. DiskBalancer: fix whitespace issue in doc files. Contributed by Anu Engineer.
Date Mon, 20 Jun 2016 16:53:49 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/cc5f81d3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cc5f81d3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cc5f81d3

Branch: refs/heads/HDFS-1312
Commit: cc5f81d3f10f24939cbebf709f8284d9e7bd7d81
Parents: 91d62aa
Author: Anu Engineer <aengineer@apache.org>
Authored: Mon Jun 20 09:48:34 2016 -0700
Committer: Anu Engineer <aengineer@apache.org>
Committed: Mon Jun 20 09:48:34 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/cc5f81d3/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/cc5f81d3/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