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 2016/09/08 10:07:21 UTC

[jira] [Closed] (FLINK-4436) Unclosed DataOutputBuffer in Utils#setTokensFor()

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

Chesnay Schepler closed FLINK-4436.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Fixed in 7e07bde8c5b33e9985260416fdf75e15df102efa

> Unclosed DataOutputBuffer in Utils#setTokensFor()
> -------------------------------------------------
>
>                 Key: FLINK-4436
>                 URL: https://issues.apache.org/jira/browse/FLINK-4436
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> {code}
>     DataOutputBuffer dob = new DataOutputBuffer();
>     credentials.writeTokenStorageToStream(dob);
> {code}
> dob should be closed upon returning from the method.
> YarnApplicationMasterRunner#createTaskManagerContext() has similar issue.



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