[
https://issues.apache.org/jira/browse/HDFS-8436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer resolved HDFS-8436.
------------------------------------
Resolution: Won't Fix
Closing as won't fix.
This is working as designed. Directories don't have a replication to set, so
when you set the replication factor on one, you are actually setting it on the
files in that directory.
> Changing the replication factor for a directory should apply to new files
> under the directory too
> -------------------------------------------------------------------------------------------------
>
> Key: HDFS-8436
> URL: https://issues.apache.org/jira/browse/HDFS-8436
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Mala Chikka Kempanna
>
> Changing the replication factor for a directory will only affect the existing
> files and the new files under the directory will get created with the default
> replication factor (dfs.replication from hdfs-site.xml) of the cluster.
> I would expect new files written under a directory to have the same
> replication factor set for the directory itself.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)