How does HDFS ensure Data Integrity of data blocks stored in HDFS?
Answer Posted / 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 View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category