You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Rita <rm...@gmail.com> on 2011/11/23 01:35:03 UTC

replication question

Hello,

I am using hbase and I have a default replication factor of 2. Now, if I
change the directory replication factor will all the new files being
created there be automatically be replicated as 3?



-- 
--- Get your facts first, then you can distort them as you please.--

Re: replication question

Posted by Harsh J <ha...@cloudera.com>.
Rita,

Yes.

You may also `hadoop dfs -setrep -R <N> /the/older/dirs>` to change their replication factor as well.

On 23-Nov-2011, at 6:05 AM, Rita wrote:

> Hello,
> 
> I am using hbase and I have a default replication factor of 2. Now, if I
> change the directory replication factor will all the new files being
> created there be automatically be replicated as 3?
> 
> 
> 
> -- 
> --- Get your facts first, then you can distort them as you please.--