You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Reuben Kuhnert (JIRA)" <ji...@apache.org> on 2016/04/11 19:24:25 UTC
[jira] [Created] (HIVE-13478) [Cleanup] Improve HookUtils
performance
Reuben Kuhnert created HIVE-13478:
-------------------------------------
Summary: [Cleanup] Improve HookUtils performance
Key: HIVE-13478
URL: https://issues.apache.org/jira/browse/HIVE-13478
Project: Hive
Issue Type: Improvement
Reporter: Reuben Kuhnert
Assignee: Reuben Kuhnert
Priority: Minor
Minor cleanup. {{HookUtils.getHooks}} multiple times for every statement executed performing nearly identical work. Cache the results of the work to improve performance.
Also introduce the {{@CacheableHook}} annotation which can be appended to hooks that don't need to be re-instantiated using expensive reflection (such as Sentry hooks that load configuration on initialization).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)