You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fang Yong (JIRA)" <ji...@apache.org> on 2017/05/04 05:39:04 UTC

[jira] [Assigned] (FLINK-6439) Unclosed InputStream in OperatorSnapshotUtil#readStateHandle()

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

Fang Yong reassigned FLINK-6439:
--------------------------------

    Assignee: Fang Yong

> Unclosed InputStream in OperatorSnapshotUtil#readStateHandle()
> --------------------------------------------------------------
>
>                 Key: FLINK-6439
>                 URL: https://issues.apache.org/jira/browse/FLINK-6439
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Fang Yong
>            Priority: Minor
>
> {code}
>     FileInputStream in = new FileInputStream(path);
>     DataInputStream dis = new DataInputStream(in);
> {code}
> None of the in / dis is closed upon return from the method.
> In writeStateHandle(), OutputStream should be closed in finally block.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)