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

Xiaobing Zhou updated HDFS-9462:
--------------------------------
    Description: 
This is to propose being able to scan all the nodes that we send various plans 
to. In order to do the scan, scan command will talk to all involved data nodes 
through cluster interface(HDFS-9449) and data models(HDFS-9420) and compare the 
hash tag that it gets back to make sure that the plan is that we are interested 
in and print out the results.

As bonus, it should support the ability to print out the diff of what happened 
when a DiskBalancer run is complete. Assuming the state of the cluster is saved 
to file before.json. There should be two kinds of diffs:
1. Overall what happened in the cluster vs. before.json -- just a summary 
2. for a specific node -- just like report command we should be able to pass in 
a node and as see the changes against the before.json


  was:
This is to propose being able to query all the nodes that we send various plans 
to. In order to do the query, query command will talk to all involved data 
nodes through cluster interface(HDFS-9449) and data models(HDFS-9420) and 
compare the hash tag that it gets back to make sure that the plan is that we 
are interested in and print out the results.

As bonus, it should support the ability to print out the diff of what happened 
when a run is complete. Assuming the state of the cluster is saved to file 
before.json. There should be two kinds of diffs:
1. Overall what happened in the cluster vs. before.json -- just a summary 
2. for a specific node -- just like report command we should be able to pass in 
a node and as see the changes against the before.json



> DiskBalancer: Add Scan Command
> ------------------------------
>
>                 Key: HDFS-9462
>                 URL: https://issues.apache.org/jira/browse/HDFS-9462
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>    Affects Versions: 2.8.0
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>
> This is to propose being able to scan all the nodes that we send various 
> plans to. In order to do the scan, scan command will talk to all involved 
> data nodes through cluster interface(HDFS-9449) and data models(HDFS-9420) 
> and compare the hash tag that it gets back to make sure that the plan is that 
> we are interested in and print out the results.
> As bonus, it should support the ability to print out the diff of what 
> happened when a DiskBalancer run is complete. Assuming the state of the 
> cluster is saved to file before.json. There should be two kinds of diffs:
> 1. Overall what happened in the cluster vs. before.json -- just a summary 
> 2. for a specific node -- just like report command we should be able to pass 
> in a node and as see the changes against the before.json



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