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

Zoltan Matyus commented on HIVE-24636:
--------------------------------------

Status: I mistakenly created a fix and a PR to _master_.  Later I realized that 
LogFactory should not be used on _master_ at all (see HIVE-24691). I abandoned 
[PR #1910|https://github.com/apache/hive/pull/1910] and started the process in 
a new [PR #1917|https://github.com/apache/hive/pull/1917] for _branch-3_. I'm 
not sure how to get the change to _branch-3.1_, probably a new cherry-pick and 
new PR (after the change is merged to _branch-3_).

> Memory leak due to stacking UDFClassLoader in Apache Commons LogFactory
> -----------------------------------------------------------------------
>
>                 Key: HIVE-24636
>                 URL: https://issues.apache.org/jira/browse/HIVE-24636
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 3.1.0
>            Reporter: dohongdayi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-24636.1.patch.txt
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Much the same asĀ [HIVE-7563|https://issues.apache.org/jira/browse/HIVE-7563], 
> after ClassLoader is closed in JavaUtils, it should be released by Apache 
> Commons LogFactory, or the ClassLoader can't be Garbage Collected, which 
> leads to memory leak, exactly our PROD met.



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

Reply via email to