You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Shen Yinjie (JIRA)" <ji...@apache.org> on 2017/11/01 09:41:00 UTC
[jira] [Updated] (YARN-7425) Failed to renew delegation token when
RM user's TGT is expired
[ https://issues.apache.org/jira/browse/YARN-7425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shen Yinjie updated YARN-7425:
------------------------------
Attachment: rm_log.png
> Failed to renew delegation token when RM user's TGT is expired
> ---------------------------------------------------------------
>
> Key: YARN-7425
> URL: https://issues.apache.org/jira/browse/YARN-7425
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn
> Affects Versions: 2.8.2
> Reporter: Shen Yinjie
> Priority: Critical
> Attachments: rm_log.png
>
>
> we have a secure hadoop cluster with namenode federation.
> submit job fails after kerberos TGT maxLifeTime expired(default 24h), client log shows" failed to renew token: HDFS_DELEGATION_TOKEN...".
> check rm log, found rm tgt is expired but not triggers relogin(),just retry and fail...
> (some logs see screenshots)
> digging in code:
> when rm tries to renewToken(),
> UserGroupInformation.getLoginUser()="rm",
> but UserGroupInformation.getCurrentUser()="testUser".
> this causes Client.shouldAuthenticateOverKrb() returns false, thus cant trigger reloginFromKeytab() or reloginFromTicketCache().
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org