[ https://issues.apache.org/jira/browse/HIVE-9625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315237#comment-14315237 ]
Prasad Mujumdar commented on HIVE-9625: --------------------------------------- [~brocknoland] Are you able to verify the patch on with secure HS2, HMS ? I suspect that just calling getDelegationToken() on error won't help. AFAIR the expired tokens are not auto renewed. There's a GC thread that runs every hour to remove the expired token. You might have to renew or drop the token before re acquiring it. > 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)