You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2014/02/19 02:37:19 UTC

[jira] [Resolved] (HDFS-5967) caller of NetworkTopology's chooseRandom method to be expect null return value

     [ https://issues.apache.org/jira/browse/HDFS-5967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yongjun Zhang resolved HDFS-5967.
---------------------------------

    Resolution: Duplicate

> caller of NetworkTopology's chooseRandom method to be expect null return value
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-5967
>                 URL: https://issues.apache.org/jira/browse/HDFS-5967
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Yongjun Zhang
>            Priority: Minor
>
> Class NetworkTopology's method
>    public Node chooseRandom(String scope) 
> calls 
>    private Node chooseRandom(String scope, String excludedScope)
> which may return null value.
> Caller of this method such as BlockPlacementPolicyDefault etc need to be aware that.



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