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

Chaoyu Tang commented on HIVE-12270:
------------------------------------

Directly using HMSHandler in HS2 is actually the HMS local mode. In a cluster 
with remote HMS but without Database connection information set for HS2, it 
will end with using embedded HMS and Derby, which is causing the problem in the 
case with multiple HS2 instances (HA).

> 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.nothrift.patch, HIVE-12270.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