[
https://issues.apache.org/jira/browse/HIVE-24860?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karen Coppage updated HIVE-24860:
---------------------------------
Description: 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. (was: ### 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)
> 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
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)