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 <[email protected]>
Date: 2016-08-22T13:07:55Z
[FLINK-4436] Unclosed DataOutputBuffer in Utils#setTokensFor()
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---