You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (Jira)" <ji...@apache.org> on 2020/05/29 13:53:00 UTC
[jira] [Commented] (HIVE-23580) deleteOnExit set is not cleaned up,
causing memory pressure
[ https://issues.apache.org/jira/browse/HIVE-23580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119619#comment-17119619 ]
Ashutosh Chauhan commented on HIVE-23580:
-----------------------------------------
FileSystem fs = p.getFileSystem(conf); is an expensive call. And is currently done twice in that loop. Can you move it above if() so that we can avoid making 2 calls for it.
> 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)