Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5188

Clean up BlockPlacementPolicy and its implementations

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.
      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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development