[ https://issues.apache.org/jira/browse/HIVE-23580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119623#comment-17119623 ]
Ashutosh Chauhan commented on HIVE-23580: ----------------------------------------- Also, we should benchmark this. Because if its slow, we may have to consider the suggestion on HIVE-23196 of doing deletes on separate thread so we are not blocking query to finish. > deleteOnExit set is not cleaned up, causing memory pressure > ----------------------------------------------------------- > > Key: HIVE-23580 > URL: https://issues.apache.org/jira/browse/HIVE-23580 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Affects Versions: 4.0.0 > Reporter: Attila Magyar > Assignee: Attila Magyar > Priority: Major > Fix For: 4.0.0 > > Attachments: HIVE-23580.1.patch > > > removeScratchDir doesn't always calls cancelDeleteOnExit() on context::clear -- This message was sent by Atlassian Jira (v8.3.4#803005)