1 Answer

0 votes
by
Use ‘-setrep’ command to change replication factor of a file to 2.

hadoop fs -setrep -w 2 apache_hadoop/sample.txt
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Jan 11, 2020 in Big Data | Hadoop by rajeshsharma
+1 vote
asked Feb 29, 2020 in Cassandra by RShastri
0 votes
asked Jun 13, 2020 in HBase by Robindeniel
0 votes
asked Feb 17, 2020 in Azure by rahuljain1
0 votes
asked Mar 22, 2020 in Big Data | Hadoop by SakshiSharma
...