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

Nemon Lou commented on HIVE-9625:
---------------------------------

[~xuefuz],thanks for your attention.What i propose is a workaround for the lack 
of renewing HMS tokens (not only for HiveServer2).The solution has been used in 
our production environment,and quite follow Thejas M Nair 's advice:
{quote}
I think it would be better if we can renew it from a HMS client implementation 
on a failure-retry, similar to how reloginFromKeyTab was added to the client in 
HIVE-4233. This way any client of HMS could potentially benefit from this 
change. 
{quote}
Here,"any client of HMS" can be HiveServer2,WebHcat,Impala,SparkSQL,etc in my 
opinion.
Since HIVE-9625 already has its solution and accepted by the Hive community,I 
think it's ok to fix this problem without the solution i provided.
And thanks Brock Noland and Xuefu Zhang for working on this.


> 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
>             Fix For: 1.3.0, 2.0.0
>
>         Attachments: HIVE-9625.1.patch, HIVE-9625.1.patch, HIVE-9625.1.patch, 
> HIVE-9625.2.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