You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/08 10:02:20 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-4436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15473442#comment-15473442 ] 

ASF GitHub Bot commented on FLINK-4436:
---------------------------------------

Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/2402
  
    merging


> 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
>
> {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)