How do I change replication factor on HDFS?

Hi Team,

Can you please let me know how can I change replication factor in HDFS?

Hi @kyle.john,

Please use below command to change replication factor of your home directory in HDFS to 2

hadoop fs –setrep –w 2 /user/username

Please replace username with your CloudxLab username

Hope this helps.

Thanks