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

BlockPlacementPolicyDefault does not choose favored nodes correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • namenode
    • None
    • Reviewed

    Description

      In one of the chooseTarget(..) methods, it tries all the favoredNodes to chooseLocalNode(..). It expects chooseLocalNode to return null if the local node is not a good target. Unfortunately, chooseLocalNode will fallback to chooseLocalRack but not returning null.

      Attachments

        1. h6680_20140714.patch
          5 kB
          Tsz-wo Sze
        2. h6680_20140716.patch
          10 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: