You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Shen Yinjie (JIRA)" <ji...@apache.org> on 2017/11/01 09:36:00 UTC

[jira] [Created] (YARN-7425) Failed to renew delegation token when RM user's TGT is expired

Shen Yinjie created YARN-7425:
---------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org