[
https://issues.apache.org/jira/browse/HDFS-4234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-4234:
-----------------------------------------
Attachment: h4234_20121128.patch
Hi Junping, thanks for the review.
h4234_20121128.patch:
- renames isMoveQuotaFull() to hasSpaceForScheduling().
- changes DISTINCT_RACKS to ANY_OTHER. We actually want to schedule all the
remaining nodes but do not require distinct racks.
- combines the new matchSourceWithTargetToMove(..) with
chooseForOneDatanode(..).
- rewrites some javadoc.
> Use the generic code for choosing datanode in Balancer
> ------------------------------------------------------
>
> Key: HDFS-4234
> URL: https://issues.apache.org/jira/browse/HDFS-4234
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: balancer
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h4234_20121128.patch, h4234_20121128.patch
>
>
> HDFS-3495 added some generic code for choosing datanodes with NodeGroup
> topology in Balancer. We should reuse the code for choosing datanodes with
> racks.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira