[
https://issues.apache.org/jira/browse/HIVE-22989?focusedWorklogId=399042&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-399042
]
ASF GitHub Bot logged work on HIVE-22989:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Mar/20 10:43
Start Date: 06/Mar/20 10:43
Worklog Time Spent: 10m
Work Description: dengzhhu653 commented on pull request #940: HIVE-22989:
Don't close parent classloader when session being closed
URL: https://github.com/apache/hive/pull/940
Add a sanity check when Registry closing the cached classloaders just in case
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 399042)
Remaining Estimate: 0h
Time Spent: 10m
> 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 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)