Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11264 Common side changes for HDFS Erasure coding support
  3. HADOOP-11847

Enhance raw coder allowing to read least required inputs in decoding

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7285
    • io
    • Reviewed

    Description

      This is to enhance raw erasure coder to allow only reading least required inputs while decoding. It will also refine and document the relevant APIs for better understanding and usage. When using least required inputs, it may add computating overhead but will possiblly outperform overall since less network traffic and disk IO are involved.

      This is something planned to do but just got reminded by zhz' s question raised in HDFS-7678, also copied here:

      Kai Zheng I have a question about decoding: in a (6+3) schema, if block #2 is missing, and I want to repair it with blocks 0, 1, 3, 4, 5, 8, how should I construct the inputs to RawErasureDecoder#decode?

      With this work, hopefully the answer to above question would be obvious.

      Attachments

        1. HADOOP-11847-v1.patch
          40 kB
          Kai Zheng
        2. HADOOP-11847-v2.patch
          45 kB
          Kai Zheng
        3. HADOOP-11847-HDFS-7285-v3.patch
          48 kB
          Kai Zheng
        4. HADOOP-11847-HDFS-7285-v4.patch
          52 kB
          Kai Zheng
        5. HADOOP-11847-HDFS-7285-v5.patch
          27 kB
          Kai Zheng
        6. HADOOP-11847-HDFS-7285-v6.patch
          37 kB
          Kai Zheng
        7. HADOOP-11847-HDFS-7285-v7.patch
          38 kB
          Kai Zheng
        8. HADOOP-11847-HDFS-7285-v8.patch
          38 kB
          Kai Zheng
        9. HADOOP-11847-HDFS-7285-v9.patch
          38 kB
          Kai Zheng

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: