[
https://issues.apache.org/jira/browse/HDFS-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904943#comment-13904943
]
Yongjun Zhang commented on HDFS-5965:
-------------------------------------
Accidentally created multiple jiras for the same issue, due to the incorrect
response of JIRA gui today.
> caller of NetworkTopology's chooseRandom method to be expect null return value
> ------------------------------------------------------------------------------
>
> Key: HDFS-5965
> URL: https://issues.apache.org/jira/browse/HDFS-5965
> 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)