You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2014/07/15 03:10:04 UTC

[jira] [Commented] (HDFS-6680) BlockPlacementPolicyDefault does not choose favored nodes correctly

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

Tsz Wo Nicholas Sze commented on HDFS-6680:
-------------------------------------------

[~devaraj]/[~blackpearl], could you take a look?

> 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
>
> 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)