hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shen Yinjie (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7425) Failed to renew delegation token when RM user's TGT is expired
Date Wed, 01 Nov 2017 09:36:00 GMT
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


Mime
View raw message