You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2016/08/18 12:03:20 UTC
[jira] [Commented] (LENS-1278) Seeing too many instances of
UDFClassloader getting created
[ https://issues.apache.org/jira/browse/LENS-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426320#comment-15426320 ]
Amareshwari Sriramadasu commented on LENS-1278:
-----------------------------------------------
Proposing to make SessionClassLoader extend UDFClassLoader to avoid the above. Will dig more and update if there are drawbacks because of this.
> 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
>
>
> 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)