hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5971) callers of NetworkTopology's chooseRandom method to expect null return value
Date Wed, 19 Feb 2014 01:43:20 GMT

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

Yongjun Zhang commented on HDFS-5971:
-------------------------------------

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-5971
>                 URL: https://issues.apache.org/jira/browse/HDFS-5971
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>    Affects Versions: 3.0.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)

Mime
View raw message