[jira] [Updated] (HIVE-13478) [Cleanup] Improve HookUtils performance

2016-04-15 Thread Reuben Kuhnert (JIRA)

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

Reuben Kuhnert updated HIVE-13478:
--
Attachment: HIVE-13478.03.patch

> [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
> Attachments: HIVE-13478.01.patch, HIVE-13478.02.patch, 
> HIVE-13478.03.patch
>
>
> Minor cleanup. {{HookUtils.getHooks}} is called multiple times for every 
> statement executed performing nearly identical work. Cache the results of the 
> work to improve performance (LRU). 
> 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)


[jira] [Updated] (HIVE-13478) [Cleanup] Improve HookUtils performance

2016-04-11 Thread Reuben Kuhnert (JIRA)

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

Reuben Kuhnert updated HIVE-13478:
--
Attachment: HIVE-13478.02.patch

> [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
> Attachments: HIVE-13478.01.patch, HIVE-13478.02.patch
>
>
> Minor cleanup. {{HookUtils.getHooks}} is called multiple times for every 
> statement executed performing nearly identical work. Cache the results of the 
> work to improve performance (LRU). 
> 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)


[jira] [Updated] (HIVE-13478) [Cleanup] Improve HookUtils performance

2016-04-11 Thread Reuben Kuhnert (JIRA)

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

Reuben Kuhnert updated HIVE-13478:
--
Description: 
Minor cleanup. {{HookUtils.getHooks}} is called multiple times for every 
statement executed performing nearly identical work. Cache the results of the 
work to improve performance (LRU). 

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

  was:
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).


> [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
> Attachments: HIVE-13478.01.patch
>
>
> Minor cleanup. {{HookUtils.getHooks}} is called multiple times for every 
> statement executed performing nearly identical work. Cache the results of the 
> work to improve performance (LRU). 
> 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)


[jira] [Updated] (HIVE-13478) [Cleanup] Improve HookUtils performance

2016-04-11 Thread Reuben Kuhnert (JIRA)

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

Reuben Kuhnert updated HIVE-13478:
--
Attachment: HIVE-13478.01.patch

> [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
> Attachments: HIVE-13478.01.patch
>
>
> 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)