You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mustafa Iman (Jira)" <ji...@apache.org> on 2020/07/10 01:04:00 UTC

[jira] [Created] (HIVE-23830) Remove shutdownhook after query is completed

Mustafa Iman created HIVE-23830:
-----------------------------------

             Summary: Remove shutdownhook after query is completed
                 Key: HIVE-23830
                 URL: https://issues.apache.org/jira/browse/HIVE-23830
             Project: Hive
          Issue Type: Bug
            Reporter: Mustafa Iman
            Assignee: Mustafa Iman


Each query registers a shutdownHook to release transactional resources in case JVM shuts down mid query. These hooks are not cleaned up until session is closed. Session life time is unbounded. So these hooks are a memory leak. They should be cleaned as soon as transaction is completed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)