Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1.1, 2.0.3-alpha
-
None
-
None
-
Reviewed
Description
The following code in Datanode.java
try { if (blockScanner != null) { blockScanner.deleteBlocks(toDelete); } data.invalidate(toDelete); } catch(IOException e) { checkDiskError(); throw e; }
causes check disk to happen in case of any errors during invalidate.
We have seen errors like :
2013-03-02 00:08:28,849 WARN org.apache.hadoop.hdfs.server.datanode.DataNode: Unexpected error trying to delete block blk_-2973118207682441648_225738165. BlockInfo not found in volumeMap.
And all such errors trigger check disk, making the clients timeout.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-4581 DataNode#checkDiskError should not be called on network errors
- Closed