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

Navis commented on HIVE-6437:
-----------------------------

It was needed only for a test case (url_hook.q), which seemed not useful and 
should not be used in any other cases. I think it should be removed from wiki 
rather than make new description.

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