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

Clean up BlockPlacementPolicy and its implementations

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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 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

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              szetszwo Tsz-wo Sze

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment