Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.0
-
None
-
Reviewed
Description
In the BlockSender code,
if (!ioem.startsWith("Broken pipe") && !ioem.startsWith("Connection reset")) { LOG.error("BlockSender.sendChunks() exception: ", e); } datanode.getBlockScanner().markSuspectBlock( volumeRef.getVolume().getStorageID(), block);
Before HDFS-7686, the block was marked as suspect only if the exception message doesn't start with Broken pipe or Connection reset.
But after HDFS-7686, the block is marked as corrupt irrespective of the exception message.
In one of our datanode, it took approximately a whole day (22 hours) to go through all the suspect blocks to scan one corrupt block.
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-7686 Re-add rapid rescan of possibly corrupt block feature to the block scanner
- Closed
- relates to
-
HDFS-12514 Cancelled HedgedReads cause block to be marked as suspect on Windows
- Patch Available