[ https://issues.apache.org/jira/browse/HIVE-24860?focusedWorklogId=562989&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-562989 ]
ASF GitHub Bot logged work on HIVE-24860: ----------------------------------------- Author: ASF GitHub Bot Created on: 09/Mar/21 10:41 Start Date: 09/Mar/21 10:41 Worklog Time Spent: 10m Work Description: zabetak commented on pull request #2052: URL: https://github.com/apache/hive/pull/2052#issuecomment-793695672 > heartbeatExecutorService was made to be a global to avoid ... Small clarification: the service was already global (static), this didn't change in HIVE-24179. The service seems to be directly related with the lifecycle of the DbTxnManager so it could be a good idea to make it instance based. This PR addresses another problem so we could continue this discussion (instance vs class variable) if necessary in a separate JIRA. ---------------------------------------------------------------- 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: 562989) Time Spent: 1h 10m (was: 1h) > 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: 1h 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)