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

Andrew Wang commented on HDFS-11082:
------------------------------------

Hi Sammi, thanks for working on this, sorry for the delay reviewing,

* I think we should have {{getErasureCodingPolicy}} return the effective EC 
policy (null) for both files and directories, for ease of use. Yes, let's file 
a follow-on JIRA for {{getActualErasureCodingPolicy}}.
* Grammar/typo in doc: "enfore the direcotry" -> "force the directory"
* How hard is it to further hide the special replication policy name, e.g. just 
call it "REPLICATION" or better, set it with a command like "hdfs ec setPolicy 
-replicate" and don't expose it as a new policy? I think Rakesh recommended 
this before, and though worse from a code perspective, it's better from a user 
perspective.
* If we can't do the above, it'd make the suggestion of suing some more fake 
looking parameters like "REPLICATION-0-0-1K" to make it clear that these 
parameters are meaningless.

> 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
>
>
> 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

Reply via email to