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

Provide a way to enforce new Block Placement Policy on existing data after switching from old one

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2.0, 2.0.4-alpha
    • None
    • None
    • None

    Description

      The BlockPlacementPolicy (BPP) is extensible and already multiple instances in system: BlockPlacementPolicyDefault, BlockPlacementPolicyWithNodeGroup, BlockPlacementPolicyRAID, etc. When cluster is switched from one BPP to another BPP, HDFS will not check if block locations conform the new BPP. Now, you can manually fsck on specific directory to identify replica placement policy is violated for some blocks but have no way to fix it so far. We should provide way to fix it.

      Attachments

        Issue Links

          Activity

            People

              junping_du Junping Du
              junping_du Junping Du
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: