hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13729) FileSystem$Cache leaks in FileUtils.checkFileAccessWithImpersonation
Date Tue, 10 May 2016 19:39:13 GMT

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

Mime
View raw message