You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Karen Coppage (Jira)" <ji...@apache.org> on 2021/03/09 09:26:00 UTC

[jira] [Updated] (HIVE-24860) Shut down HeartbeatExecutorService at session close

     [ https://issues.apache.org/jira/browse/HIVE-24860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karen Coppage updated HIVE-24860:
---------------------------------
    Summary: Shut down HeartbeatExecutorService at session close  (was: DbTxnManager$HeartbeaterThread thread leak)

> Shut down HeartbeatExecutorService at session close
> ---------------------------------------------------
>
>                 Key: HIVE-24860
>                 URL: https://issues.apache.org/jira/browse/HIVE-24860
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ### What changes were proposed in this pull request?
> Shut down HeartbeatExecutorService at session close.
> ### Why are the changes needed?
> If the HeartBeaterExecutorService isn't shut down, UDF classes belonging to the session's UDFClassLoader (which was the session thread's context classloader at HeartBeaterExecutorService creation) could pile up and cause Metaspace OOM.
> ### Does this PR introduce _any_ user-facing change?
> No
> ### How was this patch tested?
> Manually



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