You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2016/11/01 15:39:58 UTC

[jira] [Commented] (HDFS-11072) Add ability to unset and change directory EC policy

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

Rakesh R commented on HDFS-11072:
---------------------------------

Thanks a lot [~andrew.wang] for the detailed explanation.

bq. It might also be nice to provide a CLI tool that prints the policies on the parent directories of a path.
This is really an interesting thought. I hope your idea is that, users can easily find the difference in EC policies between the given path and its parent directory path. If I take the above example, for the given {{/A/B/R}} path, say R has "replicated" EC policy and its parent {{/A/B}} has "rs-default" policy.

bq. Hopefully the above example clarified this, but basically if we want a subdir of a directory with an EC policy (e.g. /A/B/R) to create replicated files, we need to set a policy that's not the default "inherit from parent" policy.
Yes, its a good case. I understand the need of "replicated" EC policy. I hope this can be done via separate task and there is no jira raised for this. I'm happy to start thinking about the implementation, shall I raise a jira for this?

> Add ability to unset and change directory EC policy
> ---------------------------------------------------
>
>                 Key: HDFS-11072
>                 URL: https://issues.apache.org/jira/browse/HDFS-11072
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: erasure-coding
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Andrew Wang
>            Assignee: SammiChen
>              Labels: hdfs-ec-3.0-must-do
>
> Since the directory-level EC policy simply applies to files at create time, it makes sense to make it more similar to storage policies and allow changing and unsetting the policy.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org