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

Correctly reconstruct erasure coding file from FSImage

    Details

      Description

      Currently, FSImageFormatProtoBuf has the information about whether the file is striped or not and saved file's erasure coding policy ID in replication field. But later, when FSImage is loaded to create the name space, the default system erasure coding policy is used to reconstruct file's block structure. In case if the erasure coding policy of file is not the default erasure coding policy, the content of the file cannot be accessed correctly.

        Attachments

        1. HDFS-11268-002.patch
          7 kB
          SammiChen
        2. HDFS-11268-001.patch
          7 kB
          SammiChen

          Activity

            People

            • Assignee:
              Sammi SammiChen
              Reporter:
              Sammi SammiChen
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: