[ https://issues.apache.org/jira/browse/HIVE-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14956063#comment-14956063 ]
Navis commented on HIVE-11768: ------------------------------ [~thejas] I've left "FileSystem.deleteOnExit" problem for another issue because "FileSystem.close" will not be called ever. Could it be removed from code safely? I'm not sure on that. > java.io.DeleteOnExitHook leaks memory on long running Hive Server2 Instances > ---------------------------------------------------------------------------- > > Key: HIVE-11768 > URL: https://issues.apache.org/jira/browse/HIVE-11768 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 1.2.1 > Reporter: Nemon Lou > Assignee: Navis > Priority: Minor > Fix For: 2.0.0 > > Attachments: HIVE-11768.1.patch.txt, HIVE-11768.2.patch.txt, > HIVE-11768.3.patch.txt, HIVE-11768.4.patch.txt, HIVE-11768.5.patch.txt > > > More than 490,000 paths was added to java.io.DeleteOnExitHook on one of our > long running HiveServer2 instances,taken up more than 100MB on heap. > Most of the paths contains a suffix of ".pipeout". -- This message was sent by Atlassian JIRA (v6.3.4#6332)