Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.8.0, 2.9.0
-
None
Description
My colleague noticed that HADOOP-12994 introduced to places where close() was still called manually within a try-with-resources block.
I'll attach a patch to remove the manual close() calls.
These extra calls to close() are probably safe, as InputStream is a Closable, not AutoClosable (the later does not specify close() as idempotent).
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-12994 Specify PositionedReadable, add contract tests, fix problems
- Resolved