Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8853

Erasure Coding: Provide ECSchema validation when setting EC policy

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: HDFS-7285
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Presently the DFS#createErasureCodingZone(path, ecSchema, cellSize) doesn't have any validation that the given ecSchema is available in ErasureCodingSchemaManager#activeSchemas list. Now, if it doesn't exists then will create the ECZone with null schema. IMHO we could improve this by doing necessary basic sanity checks.

        Attachments

        1. HDFS-8853-HDFS-7285-01.patch
          3 kB
          J.Andreina
        2. HDFS-8853-HDFS-7285-merge-02.patch
          4 kB
          J.Andreina
        3. HDFS-8853-HDFS-7285-merge-03.patch
          4 kB
          J.Andreina
        4. HDFS-8853-HDFS-7285-merge-04.patch
          4 kB
          J.Andreina
        5. HDFS-8853-HDFS-7285-05.patch
          4 kB
          J.Andreina
        6. HDFS-8853-HDFS-7285-06.patch
          4 kB
          J.Andreina

          Activity

            People

            • Assignee:
              andreina J.Andreina
              Reporter:
              rakeshr Rakesh Radhakrishnan
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: