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 "venkatesh (JIRA)" <ji...@apache.org> on 2018/08/10 11:40:00 UTC
[jira] [Commented] (HDFS-199) add replication factor for hdfs
directory
[ https://issues.apache.org/jira/browse/HDFS-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576148#comment-16576148 ]
venkatesh commented on HDFS-199:
--------------------------------
Hi,
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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org