in Big Data | Hadoop by
Q:
What happens if HDFS file is set with replication factor of 1 and DataNode crashes?

1 Answer

0 votes
by

Replication factor is same as the number of copies of a file on HDFS. If we set the replication factor of 1, it means there is only 1 copy of the file.

In case, DataNode that has this copy of file crashes, the data is lost. There is no way to recover it. It is essential to keep

 

replication factor of more than 1 for any business critical data.

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 May 31, 2019 in NoSQL - Database Revolution by aaravkhandelwal.2018
0 votes
asked Jan 11, 2020 in Big Data | Hadoop by rajeshsharma
0 votes
asked Nov 7, 2020 in Hadoop by SakshiSharma
0 votes
asked Feb 23, 2020 in Big Data | Hadoop by rahuljain1
...