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

Vinayakumar B commented on HDFS-8935:
-------------------------------------

I think this should be implemented only after deciding, how user can use custom 
policies. 
If the user wants to use custom policy which is not configured, then can create 
one and pass as argument in current API.

If need to retain this, then one more overloaded API can be added which can 
accept just name of policy available.

> Erasure Coding: createErasureCodingZone api should accept the policyname as 
> argument instead of ErasureCodingPolicy
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-8935
>                 URL: https://issues.apache.org/jira/browse/HDFS-8935
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: J.Andreina
>            Assignee: J.Andreina
>
> Current behavior : User has to specify ErasureCodingPolicy as an argument for 
> createErasureCodingZone api .
> This can be made in sync with creation of EC zone through CLI , where user 
> need to specify only the policy name.



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

Reply via email to