Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      This jira proposes to record the replication factor in the BlockInfo class. The changes have two advantages:

      • Decoupling the namespace and the block management layer. It is a prerequisite step to move block management off the heap or to a separate process.
      • Increased flexibility on replicating blocks. Currently the replication factors of all blocks have to be the same. The replication factors of these blocks are equal to the highest replication factor across all snapshots. The changes will allow blocks in a file to have different replication factor, potentially saving some space.

      Attachments

        1. HDFS-8823.000.patch
          50 kB
          Haohui Mai
        2. HDFS-8823.001.patch
          62 kB
          Haohui Mai
        3. HDFS-8823.002.patch
          61 kB
          Haohui Mai
        4. HDFS-8823.003.patch
          61 kB
          Haohui Mai
        5. HDFS-8823.004.patch
          59 kB
          Haohui Mai
        6. HDFS-8823.005.patch
          57 kB
          Haohui Mai
        7. HDFS-8823.006.patch
          57 kB
          Haohui Mai

        Issue Links

          Activity

            People

              wheat9 Haohui Mai
              wheat9 Haohui Mai
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: