Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
3.0.0-beta1, 3.0.0-alpha3
Description
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:
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'.
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:
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.