- dfs.replication: Default block replication. The actual number of replications can be specified when the file is created. The default is used if replication is not specified in create time.
- dfs.replication.max: Maximal block replication.
- dfs.namenode.replication.min: Minimal block replication.
hdfs setrepcommand like this.
Then i could verify the effect of replication settings like this set replication factor programmatically
hdfs dfs -setrep 5 /user/user/aesop.txt