You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rajesh Balamohan (JIRA)" <ji...@apache.org> on 2019/04/17 08:56:00 UTC

[jira] [Created] (HIVE-21622) Provide an option to invoke `ReflectionUtil::newInstance` without storing in constructor_cache

Rajesh Balamohan created HIVE-21622:
---------------------------------------

             Summary: 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
         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.

 

!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.



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