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

Clean up BlockPlacementPolicy and its implementations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Below is a list of code cleanup tasks for BlockPlacementPolicy and its implementations:

      • Define constants for dfs.block.replicator.classname.
      • Combine adjustExcludedNodes and addToExcludedNodes: subclasses should always add all the related nodes in addToExcludedNodes(..).
      • Remove duplicated code.

        Attachments

        1. h5188_20130912.patch
          73 kB
          Tsz Wo Nicholas Sze
        2. h5188_20130912b.patch
          76 kB
          Tsz Wo Nicholas Sze
        3. h5188_20130914.patch
          78 kB
          Tsz Wo Nicholas Sze
        4. h5188_20130915.patch
          77 kB
          Tsz Wo Nicholas Sze

          Issue Links

            Activity

              People

              • Assignee:
                szetszwo Tsz Wo Nicholas Sze
                Reporter:
                szetszwo Tsz Wo Nicholas Sze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: