Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20.1, 0.21.0, 0.22.0
-
None
-
Reviewed
Description
This is actually the reason for HDFS-734 (TestDatanodeBlockScanner timing out). The issue is that DFSInputStream relies on readChunk being called one last time at the end of the file in order to receive the lastPacketInBlock=true packet from the DN. However, DFSInputStream.read checks pos < getFileLength() before issuing the read. Thus gotEOS never shifts to true and checksumOk() is never called.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-734 TestDatanodeBlockScanner times out in branch 0.20
- Resolved