You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zhihua Deng (Jira)" <ji...@apache.org> on 2020/03/06 10:28:00 UTC

[jira] [Created] (HIVE-22989) Don't close parent classloader when session being closed

Zhihua Deng created HIVE-22989:
----------------------------------

             Summary: Don't close parent classloader when session being closed
                 Key: HIVE-22989
                 URL: https://issues.apache.org/jira/browse/HIVE-22989
             Project: Hive
          Issue Type: Improvement
          Components: HiveServer2
            Reporter: Zhihua Deng


When hiveserver2 load udfs,  Registry will use session specified classloader to load them and add cache the classloader.  When user don't set the aux jars,  the classloader cached is equal to the session's parent classloader, in our case, we don't set the aux jars while update the session's parent classloader periodicity to update user jars dynamically. It's should do a sanity check when Registry closes the cached classloaders.



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