InterviewSolution
Saved Bookmarks
| 1. |
How can you overwrite the replication factors in HDFS ? |
|
Answer» The replication factor in HDFS can be modified /overwritten in 2 ways- $hadoop fs –setrep –w 2 /my/sample.xmlsample.xml is the filename WHOSE replication factor will be set to 2
sample_dir is the name of the directory and all the files in this directory will have a replication factor set to 6. |
|