[jira] [Updated] (HIVE-27687) Logger variable should be static final as its creation takes more time in query compilation

2023-11-22 Thread Ramesh Kumar Thangarajan (Jira)


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

Ramesh Kumar Thangarajan updated HIVE-27687:

Fix Version/s: 4.0.0

> Logger variable should be static final as its creation takes more time in 
> query compilation
> ---
>
> Key: HIVE-27687
> URL: https://issues.apache.org/jira/browse/HIVE-27687
> Project: Hive
>  Issue Type: Task
>  Components: Hive
>Reporter: Ramesh Kumar Thangarajan
>Assignee: Ramesh Kumar Thangarajan
>Priority: Major
>  Labels: pull-request-available
> Fix For: 4.0.0
>
> Attachments: Screenshot 2023-09-12 at 5.03.31 PM.png
>
>
> In query compilation, 
> LoggerFactory.getLogger() seems to take up more time. Some of the serde 
> classes use non static variable for Logger that forces the getLogger() call 
> for each of the class creation.
> Making Logger variable static final will avoid this code path for every serde 
> class construction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (HIVE-27687) Logger variable should be static final as its creation takes more time in query compilation

2023-09-12 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated HIVE-27687:
--
Labels: pull-request-available  (was: )

> Logger variable should be static final as its creation takes more time in 
> query compilation
> ---
>
> Key: HIVE-27687
> URL: https://issues.apache.org/jira/browse/HIVE-27687
> Project: Hive
>  Issue Type: Task
>  Components: Hive
>Reporter: Ramesh Kumar Thangarajan
>Assignee: Ramesh Kumar Thangarajan
>Priority: Major
>  Labels: pull-request-available
> Attachments: Screenshot 2023-09-12 at 5.03.31 PM.png
>
>
> In query compilation, 
> LoggerFactory.getLogger() seems to take up more time. Some of the serde 
> classes use non static variable for Logger that forces the getLogger() call 
> for each of the class creation.
> Making Logger variable static final will avoid this code path for every serde 
> class construction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (HIVE-27687) Logger variable should be static final as its creation takes more time in query compilation

2023-09-12 Thread Ramesh Kumar Thangarajan (Jira)


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

Ramesh Kumar Thangarajan updated HIVE-27687:

Attachment: Screenshot 2023-09-12 at 5.03.31 PM.png

> Logger variable should be static final as its creation takes more time in 
> query compilation
> ---
>
> Key: HIVE-27687
> URL: https://issues.apache.org/jira/browse/HIVE-27687
> Project: Hive
>  Issue Type: Task
>  Components: Hive
>Reporter: Ramesh Kumar Thangarajan
>Assignee: Ramesh Kumar Thangarajan
>Priority: Major
> Attachments: Screenshot 2023-09-12 at 5.03.31 PM.png
>
>
> In query compilation, 
> LoggerFactory.getLogger() seems to take up more time. Some of the serde 
> classes use non static variable for Logger that forces the getLogger() call 
> for each of the class creation.
> Making Logger variable static final will avoid this code path for every serde 
> class construction.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)