[
https://issues.apache.org/jira/browse/LENS-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amareshwari Sriramadasu updated LENS-1278:
------------------------------------------
Fix Version/s: (was: 2.7)
2.6
Tested on production. We are seeing metaspace is in control after the patch.
The new counts are :
amareshwari.sr@krns4101:~$ sudo -u lens jmap -histo:live 40694 |grep -i
classloader
1407 135072 org.apache.lens.server.session.SessionClassLoader
39 3744 org.apache.hadoop.hive.ql.exec.UDFClassLoader
With 1352 active sessions.
Cherry-picked the commit to release line as well.
> Seeing too many instances of UDFClassloader getting created
> -----------------------------------------------------------
>
> Key: LENS-1278
> URL: https://issues.apache.org/jira/browse/LENS-1278
> Project: Apache Lens
> Issue Type: Bug
> Components: server
> Affects Versions: 2.6
> Reporter: Amareshwari Sriramadasu
> Assignee: Amareshwari Sriramadasu
> Priority: Critical
> Fix For: 2.6
>
> Attachments: LENS-1278.2.patch, LENS-1278.patch
>
>
> We are seeing too many instances of UDFClassloader objects :
> grep 'ClassLoader' jmap.dump
> 1439 138144 org.apache.hadoop.hive.ql.exec.UDFClassLoader
> 1789 128808 sun.reflect.DelegatingClassLoader
> 270 25920 org.apache.lens.server.session.SessionClassLoader
> Mostly because of this -
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java#L1794
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)