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 2017/05/19 22:32:05 UTC

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

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

Chesnay Schepler closed FLINK-6439.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0
                   1.3.0

1.3: 5fde739fd2b040a90d42a6a73f1d119648e863a7
1.4: 65fdadac805cb1efe30ff9a57605676b1b8e45b9

> Unclosed InputStream in OperatorSnapshotUtil#readStateHandle()
> --------------------------------------------------------------
>
>                 Key: FLINK-6439
>                 URL: https://issues.apache.org/jira/browse/FLINK-6439
>             Project: Flink
>          Issue Type: Bug
>          Components: State Backends, Checkpointing
>            Reporter: Ted Yu
>            Assignee: Fang Yong
>            Priority: Minor
>             Fix For: 1.3.0, 1.4.0
>
>
> {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)