[ https://issues.apache.org/jira/browse/HDFS-9105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904640#comment-14904640 ]
Chang Li commented on HDFS-9105: -------------------------------- Hi [~cmccabe], thanks for comment. What I am trying to achieve is to separate the min replication factor to enforce when create a file and the min replication factor to check when complete block. > separate replication config for client to create a file or set replication > -------------------------------------------------------------------------- > > Key: HDFS-9105 > URL: https://issues.apache.org/jira/browse/HDFS-9105 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Chang Li > Assignee: Chang Li > Attachments: HDFS-9105.patch > > > one scenario when we want this new config: we want to enforce min replication > of value 2, when client try to create a file, it's check against the > replication factor of the new config, which is set to 2, so that client can > not create a file of replication of 1. But when client try to close file and > there are some datanode failures in the pipeline and only 1 datanode remain, > it is checked against old minReplication value, which has value 1, so we will > allow client to close the file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)