[ https://issues.apache.org/jira/browse/TWILL-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944424#comment-15944424 ]
ASF GitHub Bot commented on TWILL-227: -------------------------------------- GitHub user chtyim opened a pull request: https://github.com/apache/twill/pull/46 (TWILL-227) Disabling caching of FileSystem instance when getting delegation token You can merge this pull request into a Git repository by running: $ git pull https://github.com/chtyim/twill feature/TWILL-227 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/twill/pull/46.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 #46 ---- commit b2ce61f9023770aab9efd180b8e662212784d137 Author: Terence Yim <cht...@apache.org> Date: 2017-03-27T23:37:07Z (TWILL-227) Disabling caching of FileSystem instance when getting delegation token ---- > Possible leakage of FileSystem object when YarnUtils.addDelegationTokens is > called with different user > ------------------------------------------------------------------------------------------------------ > > Key: TWILL-227 > URL: https://issues.apache.org/jira/browse/TWILL-227 > Project: Apache Twill > Issue Type: Bug > Affects Versions: 0.11.0 > Reporter: Terence Yim > Assignee: Terence Yim > Fix For: 0.11.0 > > > The {{FileSystem.get}} caches instance for different UGI by default and the > cache will never cleanup until process shutdown. -- This message was sent by Atlassian JIRA (v6.3.15#6346)