klcopp opened a new pull request #2052:
URL: https://github.com/apache/hive/pull/2052


   ### What changes were proposed in this pull request?
   Shut down thread pool HeartbeatExecutorService upon 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 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to