[ 
https://issues.apache.org/jira/browse/HIVE-21622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rajesh Balamohan updated HIVE-21622:
------------------------------------
    Description: 
In certain cases, UDFs would be dynamically registered/deregistered often. This 
can clutter "constructor_cache" of "ReflectionUtil" and cause memory pressure.

 
It would be good to provide an option to invoke ReflectionUtil without hitting 
constructor cache.

Attached profiler image has the details.

  was:
In certain cases, UDFs would be dynamically registered/deregistered often. This 
can clutter "constructor_cache" of "ReflectionUtil" and cause memory pressure.

 

!Screenshot 2019-04-17 at 2.17.21 PM.png!

 

It would be good to provide an option to invoke ReflectionUtil without hitting 
constructor cache.


> Provide an option to invoke `ReflectionUtil::newInstance` without storing in 
> constructor_cache
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21622
>                 URL: https://issues.apache.org/jira/browse/HIVE-21622
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Rajesh Balamohan
>            Priority: Trivial
>         Attachments: Screenshot 2019-04-17 at 2.17.21 PM.png
>
>
> In certain cases, UDFs would be dynamically registered/deregistered often. 
> This can clutter "constructor_cache" of "ReflectionUtil" and cause memory 
> pressure.
>  
> It would be good to provide an option to invoke ReflectionUtil without 
> hitting constructor cache.
> Attached profiler image has the details.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to