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

Kai Zheng commented on HDFS-11605:
----------------------------------

Some quick comments:

In NN side, when to add the new policies, we need to:
* Validate each policy to ensure its parameters are all in good form;
* Check its uniqueness among existing policies to make sure no conflict. I 
thought EC policy and/or schema have implemented {{equal()}} method?

A minor: "Add Erasure coding policies to HDFS." => "Add erasure coding 
policies."

> Allow user to customize and add new erasure code codecs and policies
> --------------------------------------------------------------------
>
>                 Key: HDFS-11605
>                 URL: https://issues.apache.org/jira/browse/HDFS-11605
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: erasure-coding
>            Reporter: Kai Zheng
>            Assignee: Huafeng Wang
>             Fix For: 3.0.0-alpha3
>
>         Attachments: HDFS-11605.001.patch
>
>
> Based on the facility developed in HDFS-11604, this will develop necessary 
> CLI cmd to load an XML file and the results will be maintained in NameNode 
> {{ErasureCodingPolicyManager}} as {{USER_POLICIES}} in line with 
> {{SYS_POLICIES}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to