hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-10093) Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
Date Fri, 27 Mar 2015 01:55:52 GMT

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

Szehon Ho commented on HIVE-10093:
----------------------------------

Thanks, +1 on latest patch pending test

> Unnecessary HMSHandler initialization for default MemoryTokenStore on HS2
> -------------------------------------------------------------------------
>
>                 Key: HIVE-10093
>                 URL: https://issues.apache.org/jira/browse/HIVE-10093
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Szehon Ho
>            Assignee: Aihua Xu
>            Priority: Minor
>         Attachments: HIVE-10093.patch
>
>
> When the HiveAuthFactory is constructed in HS2, it initializes a HMSHandler unnecessarily
right before the call to: HadoopThriftAuthBridge.startDelegationTokenSecretManager().  If
the DelegationTokenStore is configured to be a memoryTokenStore, this step is not needed.
> Side effect is creation of useless derby database file on HiveServer2 in secure clusters,
causing confusion.  This could potentially be skipped if MemoryTokenStore is used.



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

Mime
View raw message