hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-4501) HS2 memory leak - FileSystem objects in FileSystem.CACHE
Date Mon, 06 May 2013 04:28:15 GMT

    [ https://issues.apache.org/jira/browse/HIVE-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649519#comment-13649519
] 

Thejas M Nair commented on HIVE-4501:
-------------------------------------

 It would better to call shim.closeAllForUGI to free up the FileSystem objects, like it is
done for the kerberos mode  from HiveSessionImplwithUGI.close().

Calling shim.closeAllForUGI at end of  TUGIContainingProcessor.process is too early and ends
up returning empty results for the queries.

                
> HS2 memory leak - FileSystem objects in FileSystem.CACHE
> --------------------------------------------------------
>
>                 Key: HIVE-4501
>                 URL: https://issues.apache.org/jira/browse/HIVE-4501
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.11.0
>            Reporter: Thejas M Nair
>
> org.apache.hadoop.fs.FileSystem objects are getting accumulated in FileSystem.CACHE,
with HS2 in unsecure mode.
> As a workaround, it is possible to set fs.hdfs.impl.disable.cache and fs.file.impl.disable.cache
to false.
> Users should not have to bother with this extra configuration. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message