venkatesh commented on HDFS-199:


We are managing 2PB Hadoop cluster and want to setup replication at folder 
level. i.e if i change replication of /hadoop/raw_data to 2, then everything 
coming into this folder should have replication factor 2.

May i know what is the status of this issue. or any new active Jira issue 
related to this.

> add replication factor for hdfs directory
> -----------------------------------------
>                 Key: HDFS-199
>                 URL: https://issues.apache.org/jira/browse/HDFS-199
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>            Reporter: Ruyue Ma
>            Assignee: Ruyue Ma
>            Priority: Major
> If we can set replication factor for directory. we can modify the 
> DFSClent.create() method, pass 0 for the default block replication. Namenode 
> check create request, if blockreplication is 0, it will give its parent dir 
> replication factor to the file blockreplication factor. This will simplify 
> the administration work. You know we can set /Test or /Tmp dir's replication 
> factor 2 or 1, then all their children files and dirs replication factor is 2 
> or 1 defaultly.

This message was sent by Atlassian JIRA

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