You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "dragon (JIRA)" <ji...@apache.org> on 2016/03/15 09:17:35 UTC

[jira] [Created] (HDFS-10152) CLONE - Erasure Coding: Provide ECSchema validation when setting EC policy

dragon created HDFS-10152:
-----------------------------

             Summary: CLONE - Erasure Coding: Provide ECSchema validation when setting EC policy
                 Key: HDFS-10152
                 URL: https://issues.apache.org/jira/browse/HDFS-10152
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: dragon
            Assignee: J.Andreina
             Fix For: HDFS-7285


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)