[ 
https://issues.apache.org/jira/browse/HDFS-10821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yiqun Lin updated HDFS-10821:
-----------------------------
    Status: Patch Available  (was: Open)

Attach a initial patch. The documentation has been updated in the patch as 
well. The test output in my local:
{code}
Processing report command
Reporting volume information for DataNode(s) 
'e05ade8e-fb28-42cf-9aa9-43e564c0ec99,38714337-84fb-4e35-9ea3-0bb47d6da700'.
127.0.0.1[127.0.0.1:54994] - <38714337-84fb-4e35-9ea3-0bb47d6da700>: 2 volumes 
with node data density 0.00.
[DISK: 
volume-/Users/lyq/Documents/work-project/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/data3]
 - 0.00 used: 4096/249821663232, 1.00 free: 249821659136/249821663232, 
isFailed: False, isReadOnly: False, isSkip: False, isTransient: False.
[DISK: 
volume-/Users/lyq/Documents/work-project/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/data4]
 - 0.00 used: 4096/249821663232, 1.00 free: 249821659136/249821663232, 
isFailed: False, isReadOnly: False, isSkip: False, isTransient: False.

127.0.0.1[127.0.0.1:54989] - <e05ade8e-fb28-42cf-9aa9-43e564c0ec99>: 2 volumes 
with node data density 0.00.
[DISK: 
volume-/Users/lyq/Documents/work-project/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/data1]
 - 0.00 used: 4096/249821663232, 1.00 free: 249821659136/249821663232, 
isFailed: False, isReadOnly: False, isSkip: False, isTransient: False.
[DISK: 
volume-/Users/lyq/Documents/work-project/hadoop-trunk/hadoop/hadoop-hdfs-project/hadoop-hdfs/target/test/data/dfs/data/data2]
 - 0.00 used: 4096/249821663232, 1.00 free: 249821659136/249821663232, 
isFailed: False, isReadOnly: False, isSkip: False, isTransient: False.
{code}

> DiskBalancer: Report command support with multiple nodes
> --------------------------------------------------------
>
>                 Key: HDFS-10821
>                 URL: https://issues.apache.org/jira/browse/HDFS-10821
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>             Fix For: 2.9.0
>
>
> Since HDFS-10813 has committed to the trunk, then we can use {{getNodes}} 
> method to parse the nodes string and support multiple nodes with {{hdfs 
> diskbalancer}} subcommands(ex -report, -query). In this JIRA, we are focusing 
> on the subcommand {{-report}}.
> That means we can use command {{hdfs diskbalancer -report -node}} to print 
> one or one more datanodes report info. A test input command(here I use UUID 
> to specify one datanode):
> {code}
> hdfs diskbalancer -report -node 
> e05ade8e-fb28-42cf-9aa9-43e564c0ec99,38714337-84fb-4e35-9ea3-0bb47d6da700
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to