hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5969) caller of NetworkTopology's chooseRandom method to be expect null return value
Date Wed, 19 Feb 2014 00:41:22 GMT
Yongjun Zhang created HDFS-5969:
-----------------------------------

             Summary: caller of NetworkTopology's chooseRandom method to be expect null return
value
                 Key: HDFS-5969
                 URL: https://issues.apache.org/jira/browse/HDFS-5969
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
            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)

Mime
View raw message