flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLINK-4436) Unclosed DataOutputBuffer in Utils#setTokensFor()
Date Mon, 29 Aug 2016 16:31:20 GMT

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

Ted Yu updated FLINK-4436:
--------------------------
    Description: 
{code}
    DataOutputBuffer dob = new DataOutputBuffer();
    credentials.writeTokenStorageToStream(dob);
{code}
dob should be closed upon returning from the method.


YarnApplicationMasterRunner#createTaskManagerContext() has similar issue.

  was:
{code}
    DataOutputBuffer dob = new DataOutputBuffer();
    credentials.writeTokenStorageToStream(dob);
{code}
dob should be closed upon returning from the method.

YarnApplicationMasterRunner#createTaskManagerContext() has similar issue.


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

Mime
View raw message