I have a pre-existing hdfs directory which is 10 TB in size and I want to change the replication of this from 3 to 1. What is the best possible way I can achieve this?
hadoop fs –setrep –w 2 /path/to/file
hadoop fs –setrep –w 2 -R /path/to/dir
Share Your Thoughts