[ https://issues.apache.org/jira/browse/HIVE-13729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated HIVE-13729: --------------------------------- Description: Didn't invoke FileSystem.closeAllForUGI after checkFileAccess. This results leak in FileSystem$Cache and eventually OOM for HS2. Workaround without fix - fs.hdfs.impl.disable.cache=true fs.file.impl.disable.cache=true was:Didn't invoke FileSystem.closeAllForUGI after checkFileAccess. This results leak in FileSystem$Cache and eventually OOM for HS2. > 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 > Fix For: 1.3.0, 2.1.0 > > 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. > Workaround without fix - > fs.hdfs.impl.disable.cache=true > fs.file.impl.disable.cache=true -- This message was sent by Atlassian JIRA (v6.3.4#6332)