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 <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]> wrote:
>> Aww.. You could've used lmgtfy.com :)
>> On Tue, Mar 12, 2013 at 4:57 PM, varun kumar <[EMAIL PROTECTED]> wrote:
>>> On Wed, Mar 13, 2013 at 2:16 AM, Mohit Anchlia <[EMAIL PROTECTED]>wrote:
>>>> Is it possible to set replication factor to a different value than the
>>>> default at the directory level?
>>> Varun Kumar.P