You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/08/11 22:16:45 UTC

[jira] [Created] (FLINK-2511) Potential resource leak due to unclosed InputStream in FlinkZooKeeperQuorumPeer.java

Ted Yu created FLINK-2511:
-----------------------------

             Summary: Potential resource leak due to unclosed InputStream in FlinkZooKeeperQuorumPeer.java
                 Key: FLINK-2511
                 URL: https://issues.apache.org/jira/browse/FLINK-2511
             Project: Flink
          Issue Type: Bug
            Reporter: Ted Yu


The InputStream created around line 82 is not closed:
{code}
                InputStream inStream = new FileInputStream(new File(zkConfigFile));
{code}
This may lead to resource leak.



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