hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-199) add replication factor for hdfs directory
Date Mon, 04 Jun 2012 18:24:23 GMT

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

sri commented on HDFS-199:

I would like to know, If this feature is currently available in Hadoop, or is there a patch
for this feature.

The feature I am interested in is, to have replication level attached with each directory,

> 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


View raw message