[
https://issues.apache.org/jira/browse/HIVE-13729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15278733#comment-15278733
]
Prasanth Jayachandran commented on HIVE-13729:
----------------------------------------------
I should have mentioned earlier. The checkFileAccessWithImpersonation throws
IOException,AccessControlException,InterruptedException and also generic
Exception. First 3 are not required if we are throwing Exception. Not exactly
related to this patch though.
+1
> 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, HIVE-13729.2.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)