Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72B1617FB7 for ; Wed, 20 May 2015 01:12:00 +0000 (UTC) Received: (qmail 28120 invoked by uid 500); 20 May 2015 01:12:00 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 28066 invoked by uid 500); 20 May 2015 01:12:00 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 28054 invoked by uid 99); 20 May 2015 01:12:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2015 01:12:00 +0000 Date: Wed, 20 May 2015 01:12:00 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-8436) Changing the replication factor for a directory should apply to new files under the directory too MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)