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

Rakesh R commented on HDFS-12258:
---------------------------------

bq. my solution is ignore the user's input policy state and set it to DISABLED
Apart from {{ENABLED or DISABLED}}, {{REMOVED}} state doesn't make much sense 
if user sets. As we know, there was no option to specify state earlier, its 
good to update api documentation saying that the policy state will set to 
DISABLED by default and any user set policy will be ignored.

> ec -listPolicies should list all policies in system, no matter it's enabled 
> or disabled
> ---------------------------------------------------------------------------------------
>
>                 Key: HDFS-12258
>                 URL: https://issues.apache.org/jira/browse/HDFS-12258
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: SammiChen
>            Assignee: Wei Zhou
>              Labels: hdfs-ec-3.0-must-do
>         Attachments: HDFS-12258.01.patch, HDFS-12258.02.patch, 
> HDFS-12258.03.patch
>
>
> ec -listPolicies should list all policies in system, no matter it's enabled 
> or disabled



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to