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 "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2014/02/19 02:49:19 UTC

[jira] [Commented] (HDFS-5972) callers of NetworkTopology's chooseRandom method to expect null return value

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

Yongjun Zhang commented on HDFS-5972:
-------------------------------------

Accidentally created multiple jiras for the same issue, due to the unexpected response of JIRA gui.

> callers of NetworkTopology's chooseRandom method to expect null return value
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-5972
>                 URL: https://issues.apache.org/jira/browse/HDFS-5972
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 2.3.0
>            Reporter: Yongjun Zhang
>
> Class NetworkTopology's method
>    public Node chooseRandom(String scope) 
> calls 
>    private Node chooseRandom(String scope, String excludedScope)
> which may return null value.
> Callers of this method such as BlockPlacementPolicyDefault etc need to be aware that.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)