How does HDFS ensure Data Integrity of data blocks stored in HDFS?



How does HDFS ensure Data Integrity of data blocks stored in HDFS?..

Answer / Shashi Ranjan

HDFS ensures data integrity by employing multiple strategies. Firstly, it uses checksums for data verification while reading and writing data. Secondly, HDFS stores replicas of each block across different DataNodes to improve fault tolerance. Lastly, HDFS employs a mechanism called the Block-level Fault Tolerance where the NameNode maintains an edit log (Edits Log) that records changes in file metadata and block locations. This allows for the recovery of lost data blocks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache HDFS Hadoop Distributed File System Interview Questions

Describe HDFS Federation?

1 Answers  


Explain the difference between mapreduce engine and hdfs cluster?

1 Answers  


What are the difference between of the “HDFS Block” and “Input Split”?

1 Answers  


How to create Users in hadoop HDFS?

1 Answers  


Would you be able to change the block size of hdfs files?

1 Answers  


What is hdfs block size?

1 Answers  


Is namenode also a commodity?

1 Answers  


Why HDFS stores data using commodity hardware despite the higher chance of failures in hadoop?

1 Answers  


How one can format Hadoop HDFS?

1 Answers  


How to keep files in HDFS?

1 Answers  


What is secondary namenode?

1 Answers  


Define data integrity? How does hdfs ensure data integrity of data blocks stored in hdfs?

1 Answers  


Categories