Login
Remember
Register
Ask a Question
Default replication factor to a file is 3.
0
votes
asked
Feb 23, 2020
in
Big Data | Hadoop
by
rahuljain1
Default replication factor to a file is 3.
#replication-factor
Bigdata-questions-answers
Hadoop-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 23, 2020
by
SakshiSharma
Use ‘-setrep’ command to change replication factor of a file to 2.
hadoop fs -setrep -w 2 apache_hadoop/sample.txt
...