Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha2
-
None
-
Reviewed
Description
FsVolumeImpl#loadLastPartialChunkChecksum leaks a FileInputStream here:
@Override public byte[] loadLastPartialChunkChecksum( File blockFile, File metaFile) throws IOException { // readHeader closes the temporary FileInputStream. DataChecksum dcs = BlockMetadataHeader .readHeader(fileIoProvider.getFileInputStream(this, metaFile)) .getChecksum();
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-10958 Add instrumentation hooks around Datanode disk IO
- Resolved