You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/01/24 10:25:00 UTC

[jira] [Updated] (FLINK-8146) Potential resource leak in PythonPlanBinder#unzipPythonLibrary

     [ https://issues.apache.org/jira/browse/FLINK-8146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler updated FLINK-8146:
------------------------------------
    Affects Version/s: 1.5.0
                       1.4.0

> Potential resource leak in PythonPlanBinder#unzipPythonLibrary
> --------------------------------------------------------------
>
>                 Key: FLINK-8146
>                 URL: https://issues.apache.org/jira/browse/FLINK-8146
>             Project: Flink
>          Issue Type: Bug
>          Components: Python API
>    Affects Versions: 1.4.0, 1.5.0
>            Reporter: Ted Yu
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.5.0, 1.4.1
>
>
> {code}
>     while (entry != null) {
> ...
>     }
>     zis.closeEntry();
> {code}
> Looking at the catch block inside the loop, it seems the intention is to close zis upon getting exception.
> zis.close() should be called outside the loop.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)