[ 
https://issues.apache.org/jira/browse/HIVE-22989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhihua Deng updated HIVE-22989:
-------------------------------
    Description: 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.  (was: 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.)

> 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
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HIVE-22989.patch
>
>          Time Spent: 10m
>  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)

Reply via email to