[ 
https://issues.apache.org/jira/browse/HDFS-8853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14737643#comment-14737643
 ] 

Zhe Zhang commented on HDFS-8853:
---------------------------------

[~andreina] Wondering if you've had a chance to look at the above. Thanks..

> Erasure Coding: Provide ECSchema validation when creating ECZone
> ----------------------------------------------------------------
>
>                 Key: HDFS-8853
>                 URL: https://issues.apache.org/jira/browse/HDFS-8853
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Rakesh R
>            Assignee: J.Andreina
>         Attachments: HDFS-8853-HDFS-7285-01.patch, 
> HDFS-8853-HDFS-7285-05.patch, HDFS-8853-HDFS-7285-merge-02.patch, 
> HDFS-8853-HDFS-7285-merge-03.patch, HDFS-8853-HDFS-7285-merge-04.patch
>
>
> 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)

Reply via email to