hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Dechoux <decho...@gmail.com>
Subject Re: Replication factor
Date Sun, 17 Mar 2013 18:07:32 GMT
The best way would be to test it. The provided links indeed do not seem to

I would say the default replication factor is the one found in the
configuration and it can be overwritten at runtime. I don't remember
anything about using the parent directory in order to find the "default
replication factor". The use case is understandable though. If the file
tree is clean, one could expect many use cases where under one directory
each file have the same replication factor but that this replication factor
may change from one directory to another.

(A ticket could be opened on the jira if none exist about that subject,
that way a discussion could start about the interest and difficulty of a

I am afraid you will have to specify the replication factor yourself and/or
build yourself a mapping.



On Tue, Mar 12, 2013 at 10:26 PM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:

> Does it mean if I set replication factor on directory /abc and I run a
> -put command and add a file to the directory it will use the new
> replication factor set on the directory /abc?
> On Tue, Mar 12, 2013 at 2:04 PM, Chris Embree <cembree@gmail.com> wrote:
>> Aww..  You could've used lmgtfy.com :)
>> On Tue, Mar 12, 2013 at 4:57 PM, varun kumar <varun.uid@gmail.com> wrote:
>>> http://hadoopblogfromvarun.wordpress.com/
>>> On Wed, Mar 13, 2013 at 2:16 AM, Mohit Anchlia <mohitanchlia@gmail.com>wrote:
>>>> Is it possible to set replication factor to a different value than the
>>>> default at the directory level?
>>> --
>>> Regards,
>>> Varun Kumar.P

Bertrand Dechoux

View raw message