Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8031 Follow-on work for erasure coding phase I (striping layout)
  3. HDFS-9719

Refactoring ErasureCodingWorker into smaller reusable constructs

    XMLWordPrintableJSON

Details

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

    Description

      This would suggest and refactor ErasureCodingWorker into smaller constructs to be reused in other places like block group checksum computing in datanode side. As discussed in HDFS-8430 and implemented in HDFS-9694 patch, checksum computing for striped block groups would be distributed to datanode in the group, where data block data should be able to be reconstructed when missed/corrupted to recompute the block checksum. The most needed codes are in the current ErasureCodingWorker and could be reused in order to avoid duplication. Fortunately, we have very good and complete tests, which would make the refactoring much easier. The refactoring will also help a lot for subsequent tasks in phase II for non-striping erasure coded files and blocks.

      Attachments

        1. HDFS-9719-v1.patch
          121 kB
          Kai Zheng
        2. HDFS-9719-v2.patch
          124 kB
          Kai Zheng
        3. HDFS-9719-v3.patch
          94 kB
          Kai Zheng
        4. HDFS-9719-v4.patch
          99 kB
          Kai Zheng
        5. HDFS-9719-v5.patch
          99 kB
          Kai Zheng
        6. HDFS-9719-v6.patch
          99 kB
          Kai Zheng
        7. HDFS-9719-v7.patch
          100 kB
          Kai Zheng
        8. HDFS-9719-v8.patch
          100 kB
          Kai Zheng
        9. HDFS-9719-v9.patch
          100 kB
          Kai Zheng

        Issue Links

          Activity

            People

              drankye Kai Zheng
              drankye Kai Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: