You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2016/01/14 22:49:39 UTC

[jira] [Commented] (HIVE-12270) Add DBTokenStore support to HS2 delegation token

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

Robert Kanter commented on HIVE-12270:
--------------------------------------

Oozie needs this to work 100% of the time with secure HS2 HA.  Otherwise, the Oozie server can get a delegation token from one HS2 server, but the actual query might run against another HS2 server, which won't recognize the HS2 delegation token.

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