[ 
https://issues.apache.org/jira/browse/HIVE-13561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253100#comment-15253100
 ] 

Vaibhav Gumashta commented on HIVE-13561:
-----------------------------------------

[~tleftwich] Thanks for the updated patch. The patch itself looks good, but for 
unit testing, I was wondering if there could be a way to count classloaders 
before / after the add jar + create temporary query. As an example, over here: 
https://github.com/apache/hive/blob/26b5c7b56a4f28ce3eabc0207566cce46b29b558/common/src/java/org/apache/hadoop/hive/common/JavaUtils.java#L81
 we walk the classloader hierarchy. 

> HiveServer2 is leaking ClassLoaders when add jar / temporary functions are 
> used
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-13561
>                 URL: https://issues.apache.org/jira/browse/HIVE-13561
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 1.2.0, 1.2.1, 2.0.0
>            Reporter: Trystan Leftwich
>            Assignee: Trystan Leftwich
>         Attachments: HIVE-13561.2.patch
>
>
> I can repo this on branch-1.2 and branch-2.0.
> It looks to be the same issues as: HIVE-11408
> The patch from HIVE-11408 looks to fix the issue as well.
> I've updated the patch from HIVE-11408 to be aligned with branch-1.2 and 
> master



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to