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

Hadoop QA commented on HDFS-12087:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} 
| {color:red} HDFS-12087 does not apply to trunk. Rebase required? Wrong 
Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDFS-12087 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12875686/HDFS-12087.001.patch |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/22084/console |
| Powered by | Apache Yetus 0.7.0-SNAPSHOT   http://yetus.apache.org |


This message was automatically generated.



> 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-alpha3
>            Reporter: lufei
>            Assignee: lufei
>              Labels: hdfs-ec-3.0-nice-to-have
>         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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to