[ 
https://issues.apache.org/jira/browse/HIVE-24860?focusedWorklogId=562965&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-562965
 ]

ASF GitHub Bot logged work on HIVE-24860:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Mar/21 10:17
            Start Date: 09/Mar/21 10:17
    Worklog Time Spent: 10m 
      Work Description: pvary commented on pull request #2052:
URL: https://github.com/apache/hive/pull/2052#issuecomment-793669781


   > @klcopp, with 
[HIVE-24179](https://issues.apache.org/jira/browse/HIVE-24179) 
heartbeatExecutorService was made to be a global to avoid multiple shutdown 
hooks for the same threadpool. cc @zabetak
   
   Thanks for catching this @deniskuzZ!
   
   Strange thing that the service is static, but not initialized in a static 
way.
   The first user might set the pool size to a small one, and then later ones 
can not change it... Is there any particular reason behind this?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 562965)
    Time Spent: 40m  (was: 0.5h)

> Shut down DbTxnManager 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: 40m
>  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)

Reply via email to