Xiaobing Zhou created HDFS-9550:
-----------------------------------

             Summary: DiskBalancer: Add Run Command
                 Key: HDFS-9550
                 URL: https://issues.apache.org/jira/browse/HDFS-9550
             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 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




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

Reply via email to