HDFS-10900. DiskBalancer: Complete the documents for the report command. 
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/9c973646
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9c973646
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9c973646

Branch: refs/heads/HDFS-10467
Commit: 9c9736463b2b30350c78fce4fa0d56c73280d0ff
Parents: d144398
Author: Anu Engineer <aengin...@apache.org>
Authored: Tue Sep 27 19:28:41 2016 -0700
Committer: Anu Engineer <aengin...@apache.org>
Committed: Tue Sep 27 19:28:41 2016 -0700

----------------------------------------------------------------------
 .../hadoop-hdfs/src/site/markdown/HDFSCommands.md               | 4 +++-
 .../hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md           | 5 ++++-
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/9c973646/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 ec94afd..9f9fba5 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
@@ -445,6 +445,8 @@ Usage:
          [-query <datanode>]
          [-cancel <planfile>]
          [-cancel <planID> -node <datanode>]
+         [-report -node [<DataNodeID|IP|Hostname>,...]]
+         [-report -node -top <topnum>]
 
 | COMMAND\_OPTION | Description |
 |:---- |:---- |
@@ -452,7 +454,7 @@ Usage:
 |-execute| Executes a given plan on a datanode|
 |-query| Gets the current diskbalancer status from a datanode|
 |-cancel| Cancels a running plan|
-
+|-report| Reports the volume information from datanode(s)|
 
 Runs the diskbalancer CLI. See [HDFS Diskbalancer](./HDFSDiskbalancer.html) 
for more information on this command.
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/9c973646/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 d4775c2..dfb43b6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSDiskbalancer.md
@@ -106,10 +106,13 @@ or
 Plan ID can be read from datanode using query command.
 
 ### Report
-Report command provides detailed report about node(s).
+Report command provides detailed report of specified node(s) or top nodes that 
will benefit from running disk balancer.
 
 `hdfs diskbalancer -fs http://namenode.uri -report -node 
[<DataNodeID|IP|Hostname>,...]`
 
+or
+
+`hdfs diskbalancer -fs http://namenode.uri -report -top topnum`
 
 Settings
 --------


---------------------------------------------------------------------
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