[
https://issues.apache.org/jira/browse/HIVE-22989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-22989:
-------------------------------
Comment: was deleted
(was: The failed test seems not related, thanks reviewing!)
> 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
> Assignee: Zhihua Deng
> Priority: Minor
> Labels: pull-request-available
> Attachments: HIVE-22989.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When hiveserver2 loads udfs, Registry will use the session's specified
> classloader to load them and 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)