[
https://issues.apache.org/jira/browse/HDFS-6837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093060#comment-14093060
]
Jing Zhao commented on HDFS-6837:
---------------------------------
+1. I will commit the patch shortly.
> Code cleanup for Balancer and Dispatcher
> ----------------------------------------
>
> Key: HDFS-6837
> URL: https://issues.apache.org/jira/browse/HDFS-6837
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: balancer
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: h6837_20140810.patch, h6837_20140810b.patch
>
>
> A few minor code cleanup changes:
> - The constructor of Dispatcher should not read Balancer's conf properties;
> the values should be passed by parameters.
> - StorageGroup.utilization can be removed; it is only used in toString().
> - Move Balancer.ReturnStatus to a standalone class.
> - In Dispatcher, rename BalancerDatanode to DDatanode.
--
This message was sent by Atlassian JIRA
(v6.2#6252)