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

Improve BlockPlacementPolicy for small clusters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • None
    • None
    • hdfs
    • None

    Description

      From investigations and a few test occurrences, the NameNode BlockPlacementPolicy’s considerLoad can be bad for small test clusters.
      A small (1-node) cluster may trigger a corner case of maxLoad = 0. In this case, filtering should not take place.

      When there is no heartbeat, maxLoad will be 0 and the existing logic will filter out many nodes that have workload, which should be avoided.

      Attachments

        1. HDFS-13910.001.patch
          5 kB
          Shweta

        Issue Links

          Activity

            People

              shwetayakkali Shweta
              shwetayakkali Shweta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: