- Change the existing files's replications
hadoop fs -setrep -R -w 2 /data-dir - Set replication when loading a file
hadoop fs -Ddfs.replication=2 -put local_file dfs_file
↧
Set replication for files in Hadoop
↧