[
https://issues.apache.org/jira/browse/HDFS-9461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15325249#comment-15325249
]
Xiaobing Zhou commented on HDFS-9461:
-------------------------------------
v005 patch:
1. move {code}Collections.sort(getCluster().getNodes(),
Collections.reverseOrder()); {code} to ReportCommand#handleTopReport for
efficiency purpose.
2. changed 'X' to '-X' in DiskBalancer#addReportCommands
{code}"-report [-top X] | [-node {DataNodeID | IP | Hostname}].");{code}
3. changed ReportCommand to add full desc.
{code}addValidCommandParameters(DiskBalancer.REPORT,
"Report volume information of nodes.");{code}
> DiskBalancer: Add Report Command
> --------------------------------
>
> Key: HDFS-9461
> URL: https://issues.apache.org/jira/browse/HDFS-9461
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: balancer & mover
> Affects Versions: 2.8.0
> Reporter: Xiaobing Zhou
> Assignee: Xiaobing Zhou
> Attachments: HDFS-9461-HDFS-1312.000.patch,
> HDFS-9461-HDFS-1312.001.patch, HDFS-9461-HDFS-1312.002.patch,
> HDFS-9461-HDFS-1312.003.patch, HDFS-9461-HDFS-1312.004.patch,
> HDFS-9461-HDFS-1312.005.patch
>
>
> It's quite helpful to do:
> 1) report node information for the top X of DataNodes that will benefit from
> running disk balancer
> 2) report volume level information for any specific DataNode.
> This is done by:
> 1) reading the cluster info, sorting the DiskbalancerNodes by their
> NodeDataDensity and printing out their corresponding information.
> 2) reading the cluster info, and print out volume level information for that
> DataNode requested.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]