[
https://issues.apache.org/jira/browse/HADOOP-9045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Junping Du updated HADOOP-9045:
-------------------------------
Attachment: HADOOP-9045.patch
Upload patch with unit test in boundary case of placing 3rd and 1st replicas on
the same rack and try to place 10 replicas on 12 nodes under 6 nodegroups.
> In nodegroup-aware case, make sure nodes are avoided to place replica if some
> replica are already under the same nodegroup
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-9045
> URL: https://issues.apache.org/jira/browse/HADOOP-9045
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 2.0.2-alpha
> Reporter: Junping Du
> Assignee: Junping Du
> Attachments: HADOOP-9045.patch
>
>
> In previous implementation for HADOOP-8468, 3rd replica is avoid to place on
> the same nodegroup of 2nd replica. But it didn't provide check on nodegroup
> of 1st replica, so if 2nd replica's rack is not efficient to place replica,
> then it is possible to place 3rd and 1st replica within the same node group.
> We need a change to remove all nodes from available nodes for placing replica
> if there already replica on the same nodegroup.
--
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