[
https://issues.apache.org/jira/browse/FLINK-4709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15532401#comment-15532401
]
Holger Frydrych commented on FLINK-4709:
----------------------------------------
Gladly. I'll try to do it on the weekend, if that's alright for you.
> InputStreamFSInputWrapper does not close wrapped stream
> -------------------------------------------------------
>
> Key: FLINK-4709
> URL: https://issues.apache.org/jira/browse/FLINK-4709
> Project: Flink
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.3, 1.1.2
> Reporter: Holger Frydrych
>
> In FileInputFormat::decorateInputStream (flink.api.common.io), if the
> inputStream gets wrapped by an InputStreamFSInputWrapper, it will never get
> closed. FileInputFormat does call close() on its stream, but the wrapper does
> not implement close() to forward this call to the wrapped stream. This leads
> to a resource leak which can eventually exhaust the maximum number of open
> file handles allowed if processing a lot of input files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)