hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamir Kamara <tamirkam...@gmail.com>
Subject Re: How to increase replication factor
Date Tue, 10 Mar 2009 10:58:59 GMT
You can use the setrep option to (re)set the replication of specific files
and directories. More details can be found here:
http://hadoop.apache.org/core/docs/current/hdfs_shell.html#setrep


On Tue, Mar 10, 2009 at 12:28 PM, Edwin Chu <edwincheese@gmail.com> wrote:

> Hi
> I am adding some new nodes to an Hadoop cluster and try to increase the
> replication factor. I changed the replication factor value in
> hadoop-site.xml and then restarted the cluster using the stop-all.sh and
> start-all.sh script. Then, I run hadoop fsck. It reports that the fs is
> healthy, but I found that the Average block replication value is less than
> the configured replication factor. I guess the existing blocks are not
> re-replicated after changing the replication factor. Can I force the
> existing blocks to be replicated according to the new replication factor?
>
> Regards
> Edwin
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message