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

Hudson commented on HDFS-6680:
------------------------------

SUCCESS: Integrated in Hadoop-Mapreduce-trunk #1839 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1839/])
HDFS-6680. BlockPlacementPolicyDefault does not choose favored nodes correctly. 
(szetszwo: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1612427)
* /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/namenode/TestFavoredNodesEndToEnd.java


> BlockPlacementPolicyDefault does not choose favored nodes correctly
> -------------------------------------------------------------------
>
>                 Key: HDFS-6680
>                 URL: https://issues.apache.org/jira/browse/HDFS-6680
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>             Fix For: 2.5.0
>
>         Attachments: h6680_20140714.patch, h6680_20140716.patch
>
>
> In one of the chooseTarget(..) methods, it tries all the favoredNodes to 
> chooseLocalNode(..).  It expects chooseLocalNode to return null if the local 
> node is not a good target.  Unfortunately, chooseLocalNode will fallback to 
> chooseLocalRack but not returning null.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to