[jira] [Created] (FLINK-4910) Introduce safety net for closing file system streams

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-4910) Introduce safety net for closing file system streams

Shang Yuanchun (Jira)
Stefan Richter created FLINK-4910:
-------------------------------------

             Summary: Introduce safety net for closing file system streams
                 Key: FLINK-4910
                 URL: https://issues.apache.org/jira/browse/FLINK-4910
             Project: Flink
          Issue Type: Improvement
            Reporter: Stefan Richter


Streams that are opened through {{FileSystem}} must be closed at the end of their life cycle. However, we found hints that some code forgets to close such streams.

We should introduce i) a mechanism that closes leaking unclosed streams after usage and ii) provides logging that helps us to track down and fi the sources of such leaks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)