[ 
https://issues.apache.org/jira/browse/HIVE-22135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913835#comment-16913835
 ] 

Rajesh Balamohan commented on HIVE-22135:
-----------------------------------------

Thanks for creating this ticket [~vgarg] . Is this codepath expensive when 
accessed from different threads or is it expensive due to any other reason?.

> Remove Hive.get().getConf() call and instead pass the configuration
> -------------------------------------------------------------------
>
>                 Key: HIVE-22135
>                 URL: https://issues.apache.org/jira/browse/HIVE-22135
>             Project: Hive
>          Issue Type: Task
>    Affects Versions: 4.0.0
>            Reporter: Vineet Garg
>            Priority: Major
>
> There are multiple places where {{Hive.get().getConf()}} is used to get to 
> hive configuration. This static call could be expensive and should be 
> avoided, instead configuration should be passed on to where ever it is 
> required.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to