[ https://issues.apache.org/jira/browse/HDFS-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509658#comment-13509658 ]
Hudson commented on HDFS-4240: ------------------------------ Integrated in Hadoop-Yarn-trunk #56 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/56/]) HDFS-4240. For nodegroup-aware block placement, when a node is excluded, the nodes in the same nodegroup should also be excluded. Contributed by Junping Du (Revision 1416691) Result = SUCCESS szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1416691 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyDefault.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockPlacementPolicyWithNodeGroup.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestReplicationPolicyWithNodeGroup.java > In nodegroup-aware case, make sure nodes are avoided to place replica if some > replica are already under the same nodegroup > -------------------------------------------------------------------------------------------------------------------------- > > Key: HDFS-4240 > URL: https://issues.apache.org/jira/browse/HDFS-4240 > Project: Hadoop HDFS > Issue Type: Bug > Components: namenode > Reporter: Junping Du > Assignee: Junping Du > Fix For: 3.0.0 > > Attachments: HADOOP-9045.patch, HADOOP-9045-v2.patch, > HADOOP-9045-v3.patch, HADOOP-9045-v4.patch, HDFS-4240.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