hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smarthr...@yahoo.co.in
Subject Re: Dynamically adjusting replication factor for a data block
Date Sun, 15 Nov 2009 17:45:36 GMT
This needs to be done manually.
Is there a way to do this at runtime i.e. in the java code ?

- Hrishi



----- Original Message ----
From: Sagar <snaik@attributor.com>
To: common-dev@hadoop.apache.org
Sent: Sun, November 15, 2009 1:20:12 AM
Subject: Re: Dynamically adjusting replication factor for a data block

I dont think we can set replication on block level.
We can change replication on a file. This will change the replication on 
all blocks belonging to a file

hadoop fs -setrep [-R] <path>
http://hadoop.apache.org/common/docs/current/hdfs_shell.html#setrep


-Sagar
smarthrish@yahoo.co.in wrote:
> Is it possible to set the replication factor for a data block dynamically ?
>
> Regards,
> Hrishikesh
>
>
>
>      
>  


      

Mime
View raw message