hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6680) BlockPlacementPolicyDefault does not choose favored nodes correctly
Date Wed, 16 Jul 2014 00:13:05 GMT

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

Devaraj Das commented on HDFS-6680:
-----------------------------------

Looks good to me. BTW how did you come across this issue?

> 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
>         Attachments: h6680_20140714.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)

Mime
View raw message