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

Clean up BlockPlacementPolicy and its implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.0
    • namenode
    • None
    • 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 Sze
        2. h5188_20130912b.patch
          76 kB
          Tsz-wo Sze
        3. h5188_20130914.patch
          78 kB
          Tsz-wo Sze
        4. h5188_20130915.patch
          77 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: