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

Brock Noland commented on HIVE-9625:
------------------------------------

I think that getting a new token on failure is going to be pretty difficult. 
The only places I can see retrying are in the metastore package in {{HMSC}} or 
{{RetryingMetastore}} but there is no way to get a new token there. 
Additionally I believe the token needs to be acquired outside of a 
{{doas(user)}} call.

Looks like a non-trivial change.

> Delegation tokens for HMS are not renewed
> -----------------------------------------
>
>                 Key: HIVE-9625
>                 URL: https://issues.apache.org/jira/browse/HIVE-9625
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Brock Noland
>            Assignee: Brock Noland
>         Attachments: HIVE-9625.1.patch
>
>
> AFAICT the delegation tokens stored in [HiveSessionImplwithUGI 
> |https://github.com/apache/hive/blob/trunk/service/src/java/org/apache/hive/service/cli/session/HiveSessionImplwithUGI.java#L45]
>  for HMS + Impersonation are never renewed.



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

Reply via email to