[
https://issues.apache.org/jira/browse/HDFS-13785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16572788#comment-16572788
]
Hudson commented on HDFS-13785:
-------------------------------
FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #14723 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/14723/])
HDFS-13785. EC: 'removePolicy' is not working for built-in/system
(vinayakumarb: rev 4203bc738c11aaf083b6d407c6d6b7f4f22fe0d3)
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/ECAdmin.java
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md
* (edit)
hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testErasureCodingConf.xml
> EC: "removePolicy" is not working for built-in/system Erasure Code policies
> ---------------------------------------------------------------------------
>
> Key: HDFS-13785
> URL: https://issues.apache.org/jira/browse/HDFS-13785
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: documentation, erasure-coding
> Affects Versions: 3.0.0
> Environment: 3 Node SUSE Linux Cluster
> Reporter: Souryakanta Dwivedy
> Assignee: Ayush Saxena
> Priority: Minor
> Fix For: 3.2.0
>
> Attachments: HDFS-13785-01.patch, HDFS-13785-02.patch,
> HDFS-13785-03.patch
>
>
> EC: "removePolicy" is not working for built-in/system Erasure Code policies
> - Check the existing built-in EC policies with command "hdfs ec -listPolicies"
> - try to remove any of the EC policies,it will throw error message as
> "RemoteException: System erasure coding policy RS-3-2-1024k cannot be removed"
> - add user-defined EC policies
> - Try to remove any user-defined policy,it will be removed successfully
> - But in help option it is specified as :
> vm1:/opt/client/install/hadoop/namenode/bin> ./hdfs ec -help removePolicy
> [-removePolicy -policy <policy>]
> Remove an erasure coding policy.
> <policy> The name of the erasure coding policy
> vm1:/opt/client/install/hadoop/namenode/bin>
> Actual result :-
> hdfs ec -removePolicy not working for built-in/system EC policies ,where as
> usage description
> provided as "Remove an erasure coding policy".throwing exception as :
> "RemoteException: System erasure coding policy RS-3-2-1024k cannot be removed"
> Expected output : Either EC "removePolicy" option should be applicable for
> all type of EC policies
> Or it has to be specified in usage that EC "removePolicy" will be applicable
> to remove
> only user-defined EC policies, not applicable for system EC coding policies.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]