hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Austin Chungath <austi...@gmail.com>
Subject how to set default replication factor for specific directories
Date Mon, 04 Feb 2013 06:44:22 GMT

Is there any way for setting the default replication factor for specific
The default replication factor is 3 for the cluster. I don't want to change
this global default, but I want specific directories to have different
replication factor.
I can use the following command to set the replication factor of files
after they are created, but how to make it default for that directory?
hadoop dfs -setrep -R -w 1 /user


View raw message