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/08/22 13:14: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=15430731#comment-15430731 ]
ASF GitHub Bot commented on FLINK-4436:
---------------------------------------
GitHub user f7753 opened a pull request:
https://github.com/apache/flink/pull/2402
[FLINK-4436] Unclosed DataOutputBuffer in Utils#setTokensFor()
`DataOutputBuffer dob = new DataOutputBuffer(); `
` credentials.writeTokenStorageToStream(dob);`
dob should be closed upon returning from the method.
Also in YarnApplicationMasterRunner#createTaskManagerContext().
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/f7753/flink FLINK_4436
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2402.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2402
----
commit 4220aec9170ec4c3d1ee68312fde501f06879549
Author: f7753 <ma...@gmail.com>
Date: 2016-08-22T13:07:55Z
[FLINK-4436] Unclosed DataOutputBuffer in Utils#setTokensFor()
----
> 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)