hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh R (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11072) Add ability to unset and change directory EC policy
Date Thu, 22 Dec 2016 15:20:58 GMT

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

Rakesh R commented on HDFS-11072:

Thanks [~Sammi] for the analysis.

bq. 2. removeErasureCodingPolicy
Since we are already using {{set/unset}} API pattern for the storage policy, I'd prefer to
create {{#unsetErasureCodingPolicy()}} API instead of {{#removeErasureCodingPolicy()}} API.

3. setDefaultReplicationPolicy
set replication on directory. This is only useful when user wants the directory from stop
inheriting from it's parent's ec policy. 
I understand there will be many use cases, like distcp(Thanks [~andrew.wang] for pointing
out this) etc. IMHO, implementing this logic requires more focused coding/unit testing and
reviews. How about separating out this task alone and pushing via HDFS-11082 jira. Please
feel free to assign HDFS-11082 task to you.

> 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
>         Attachments: HDFS-11072-v1.patch, HDFS-11072-v2.patch, HDFS-11072-v3.patch, HDFS-11072-v4.patch
> 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

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

View raw message