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

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

[~xiaobingo] Thanks for your review. From the disk balancer point of view, we 
don't need to locks since only a single thread can operate upon a node's data 
at any given point of time. 
As for unit tests, I am not aware of any tests which could trigger 
multi-threaded issues. I would appreciate if you can flag the specific test(s) 
you have in mind so that I can take a closer look.



> 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, HDFS-9420.002.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