You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2016/05/10 19:31:13 UTC

[jira] [Commented] (HIVE-13729) FileSystem$Cache leaks in FileUtils.checkFileAccessWithImpersonation

    [ 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)