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 "Yuanbo Liu (Jira)" <ji...@apache.org> on 2022/04/19 02:36:00 UTC

[jira] [Created] (YARN-11112) Avoid renewing delegation token when app is first submitted to RM

Yuanbo Liu created YARN-11112:
---------------------------------

             Summary: Avoid renewing delegation token when app is first submitted to RM
                 Key: YARN-11112
                 URL: https://issues.apache.org/jira/browse/YARN-11112
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Yuanbo Liu
         Attachments: image-2022-04-19-10-34-59-573.png

When auth is enabled by NameNode, then delegation token is required if application needs to acess files/directoies. We find that when app is first submitted to RM, RM renewer will renew app token no matter whether token is expired or not. Renewing token is a bit heavy since it uses global write lock. Here is the result when delegation token is required in a very busy cluster.
!image-2022-04-19-10-34-59-573.png!

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org