How does a Block Scanner normally handle corrupted files?
- When the Block Scanner detects any corrupted file or corrupted data block the DataNode sends a message to the NameNode.
- After receiving a notification from DataNode, NameNode starts the process of, making a replica from corrupted block data.
- -Replication factor is compared to the count of right replicas and the corrupted data block won’t be deleted if a match is detected.
BY Best Interview Question ON 14 Nov 2022