[
https://issues.apache.org/jira/browse/HIVE-13729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278718#comment-15278718
]
Prasanth Jayachandran commented on HIVE-13729:
----------------------------------------------
Should this go inside finally{}? doAs() seems to throw exception.
> FileSystem$Cache leaks in FileUtils.checkFileAccessWithImpersonation
> --------------------------------------------------------------------
>
> Key: HIVE-13729
> URL: https://issues.apache.org/jira/browse/HIVE-13729
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Reporter: Daniel Dai
> Assignee: Daniel Dai
> Attachments: HIVE-13729.1.patch
>
>
> Didn't invoke FileSystem.closeAllForUGI after checkFileAccess. This results
> leak in FileSystem$Cache and eventually OOM for HS2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)