Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5970

callers of NetworkTopology's chooseRandom method to expect null return value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • namenode
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yzhangal Yongjun Zhang
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: