[
https://issues.apache.org/jira/browse/HDFS-199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288826#comment-13288826
]
Tsz Wo (Nicholas), SZE commented on HDFS-199:
---------------------------------------------
Krish, this feature is not yet available and I don't aware there is a patch
around.
> 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
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira