You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Attila Magyar (Jira)" <ji...@apache.org> on 2020/05/29 14:21:00 UTC

[jira] [Comment Edited] (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=17119654#comment-17119654 ] 

Attila Magyar edited comment on HIVE-23580 at 5/29/20, 2:20 PM:
----------------------------------------------------------------

[~ashutoshc], if file system cache is enabled (fs.<scheme>.impl.disable.cache=false) then getFileSystem() should return fast.

We don't call it twice in the loop, if we enter the first _if_ we _continue_ and don't call the 2nd one. If we enter the second _if_ we don't call the first one.


was (Author: amagyar):
[~ashutoshc], if file system cache is enabled (fs.<scheme>.impl.disable.cache=true) then getFileSystem() should return fast.

We don't call it twice in the loop, if we enter the first _if_ we _continue_ and don't call the 2nd one. If we enter the second _if_ we don't call the first one.

> 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)