[
https://issues.apache.org/jira/browse/HIVE-4501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776963#comment-13776963
]
Kousuke Saruta commented on HIVE-4501:
--------------------------------------
Hi [~thejas]
Now, I try to address the issue HIVE-5296, which includes this issue.
I think, it's better to call FileSystem.closeAll at the end of the session than
disable cache because a FileSystem object can be used more than 1 time in a
statement.
> 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
> Assignee: Thejas M Nair
> Attachments: HIVE-4501.1.patch
>
>
> 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