[jira] [Comment Edited] (HDFS-12087) The error message is not friendly when set a path with the policy not enabled
[ https://issues.apache.org/jira/browse/HDFS-12087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256263#comment-16256263 ] lufei edited comment on HDFS-12087 at 11/17/17 1:16 AM: This problem is already fixed.Please close this issue. was (Author: figo): This problem is already fixed. > The error message is not friendly when set a path with the policy not enabled > - > > Key: HDFS-12087 > URL: https://issues.apache.org/jira/browse/HDFS-12087 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs >Affects Versions: 3.0.0-beta1, 3.0.0-alpha3 >Reporter: lufei >Assignee: lufei > Labels: hdfs-ec-3.0-nice-to-have > Fix For: 3.0.0-beta1 > > Attachments: HDFS-12087.001.patch > > > First user add a policy by -addPolicies command but not enabled, then user > set a path with this policy. The error message displayed as below: > {color:#707070}RemoteException: Policy 'XOR-2-1-128k' does not match any > enabled erasure coding policies: []. The set of enabled erasure coding > policies can be configured at 'dfs.namenode.ec.policies.enabled'.{color} > The policy 'XOR-2-1-128k' is added by user but not be enabled.The error > message is not promot user to enable the policy first.I think the error > message may be better as below: > {color:#707070}RemoteException: Policy 'XOR-2-1-128k' does not match any > enabled erasure coding policies: []. The set of enabled erasure coding > policies can be configured at 'dfs.namenode.ec.policies.enabled' or enable > the policy by '-enablePolicy' EC command before.{color} -- 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
[jira] [Comment Edited] (HDFS-12087) The error message is not friendly when set a path with the policy not enabled
[ https://issues.apache.org/jira/browse/HDFS-12087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16256263#comment-16256263 ] lufei edited comment on HDFS-12087 at 11/17/17 1:18 AM: This problem is fixed by anyone.So please close this issue,thanks. was (Author: figo): This problem is already fixed.Please close this issue. > The error message is not friendly when set a path with the policy not enabled > - > > Key: HDFS-12087 > URL: https://issues.apache.org/jira/browse/HDFS-12087 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs >Affects Versions: 3.0.0-beta1, 3.0.0-alpha3 >Reporter: lufei >Assignee: lufei > Labels: hdfs-ec-3.0-nice-to-have > Fix For: 3.0.0-beta1 > > Attachments: HDFS-12087.001.patch > > > First user add a policy by -addPolicies command but not enabled, then user > set a path with this policy. The error message displayed as below: > {color:#707070}RemoteException: Policy 'XOR-2-1-128k' does not match any > enabled erasure coding policies: []. The set of enabled erasure coding > policies can be configured at 'dfs.namenode.ec.policies.enabled'.{color} > The policy 'XOR-2-1-128k' is added by user but not be enabled.The error > message is not promot user to enable the policy first.I think the error > message may be better as below: > {color:#707070}RemoteException: Policy 'XOR-2-1-128k' does not match any > enabled erasure coding policies: []. The set of enabled erasure coding > policies can be configured at 'dfs.namenode.ec.policies.enabled' or enable > the policy by '-enablePolicy' EC command before.{color} -- 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