[ https://issues.apache.org/jira/browse/HDFS-11082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125322#comment-16125322 ]
SammiChen commented on HDFS-11082: ---------------------------------- Hi [~andrew.wang], thanks for the review. I have uploaded a new patch with all your suggests are addressed. With 003.patch, 1. user can set replication policy by `ec -setpolicy -path path -replicate` or DistributedFileSystem.setErasureCodingPolicy() with replication policy name "REPLICATION" 2. replication policy will not returned either 'ec -listPolicies` nor DistributedFileSystem.getAllErasureCodingPolicies(), or DistributedFileSystem.getErasureCodingPolicy(), or `ec -getPolicy -path path` 3. replication policy is maintained in namenode side only. It's always enabled regardless any hdfs property configuration. > Erasure Coding : Provide replicated EC policy to just replicating the files > --------------------------------------------------------------------------- > > Key: HDFS-11082 > URL: https://issues.apache.org/jira/browse/HDFS-11082 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: erasure-coding > Reporter: Rakesh R > Assignee: SammiChen > Priority: Critical > Labels: hdfs-ec-3.0-must-do > Attachments: HDFS-11082.001.patch, HDFS-11082.002.patch, > HDFS-11082.003.patch > > > The idea of this jira is to provide a new {{replicated EC policy}} so that we > can override the EC policy on a parent directory and go back to just > replicating the files based on replication factors. > Thanks [~andrew.wang] for the > [discussions|https://issues.apache.org/jira/browse/HDFS-11072?focusedCommentId=15620743&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15620743]. -- 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