0 votes
in HDFS by

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

1 Answer

0 votes
by

Data Integrity talks about the correctness of the data. It is very important for us to have a guarantee or assurance that the data stored in HDFS is correct. However, there is always a slight chance that the data will get corrupted during I/O operations on the disk. HDFS creates the checksum for all the data written to it and verifies the data with the checksum during read operation by default. Also, each DataNode runs a block scanner periodically, which verifies the correctness of the data blocks stored in the HDFS.

Related questions

+1 vote
asked Jun 8, 2020 in HDFS by Robindeniel
0 votes
asked Jun 8, 2020 in HDFS by Robindeniel
...