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

Chaoyu Tang updated HIVE-12270:
-------------------------------
    Attachment: HIVE-12270.3.patch

Revised the patch after discussing with Szehon. We will getMSC via thread local 
Hive object for token api calls in different threads, instead of passing around 
and sharing one MSC.
[~szehon] Could you review the patch? Thanks

> Add DBTokenStore support to HS2 delegation token
> ------------------------------------------------
>
>                 Key: HIVE-12270
>                 URL: https://issues.apache.org/jira/browse/HIVE-12270
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-12270.1.nothrift.patch, HIVE-12270.1.patch, 
> HIVE-12270.2.patch, HIVE-12270.3.nothrift.patch, HIVE-12270.3.patch, 
> HIVE-12270.nothrift.patch
>
>
> DBTokenStore was initially introduced by HIVE-3255 in Hive-0.12 and it is 
> mainly for HMS delegation token. Later in Hive-0.13, the HS2 delegation token 
> support was introduced by HIVE-5155 but it used MemoryTokenStore as token 
> store. That the HIVE-9622 uses the shared RawStore (or HMSHandler) to access 
> the token/keys information in HMS DB directly from HS2 seems not the right 
> approach to support DBTokenStore in HS2. I think we should use 
> HiveMetaStoreClient in HS2 instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to