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

Ashutosh Chauhan commented on HIVE-6437:
----------------------------------------

This seems like a useful change. [~thejas] would you like to review this one?

> DefaultHiveAuthorizationProvider should not initialize a new HiveConf
> ---------------------------------------------------------------------
>
>                 Key: HIVE-6437
>                 URL: https://issues.apache.org/jira/browse/HIVE-6437
>             Project: Hive
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 0.13.0
>            Reporter: Harsh J
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-6437.1.patch.txt, HIVE-6437.2.patch.txt, 
> HIVE-6437.3.patch.txt, HIVE-6437.4.patch.txt, HIVE-6437.5.patch.txt
>
>
> During a HS2 connection, every SessionState got initializes a new 
> DefaultHiveAuthorizationProvider object (on stock configs).
> In turn, DefaultHiveAuthorizationProvider carries a {{new HiveConf(…)}} that 
> may prove too expensive, and unnecessary to do, since SessionState itself 
> sends in a fully applied HiveConf to it in the first place.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to