[ 
https://issues.apache.org/jira/browse/HDFS-9420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15012784#comment-15012784
 ] 

Anu Engineer commented on HDFS-9420:
------------------------------------

[~szetszwo] Thanks for the comments, I will fix both of them in the next update.

bq. What is the Json code for?

It allows us to persist the nodes information. It is used for 2 things.
1. It is useful for reporting what changed in a cluster. We log the state of 
nodes before the start of a run, and we can effectively diff the cluster state 
after the disk balancer run. 

2. This is also intended to be a useful debugging tool -- if users run into 
issues, we might be able to reproduce many of those issues from the json files 
that disk balancer produces.



> DiskBalancer : Add DataModels
> -----------------------------
>
>                 Key: HDFS-9420
>                 URL: https://issues.apache.org/jira/browse/HDFS-9420
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: HDFS
>    Affects Versions: 2.8.0
>            Reporter: Anu Engineer
>            Assignee: Anu Engineer
>         Attachments: HDFS-9420.001.patch
>
>
> Adds Data Model classes needed for Disk Balancer.  These classes allow us to 
> persist the physical model of the cluster. This is needed by the other parts 
> of Disk balancer like Planner and Executor engine



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

Reply via email to