Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7425

Failed to renew delegation token when RM user's TGT is expired

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 2.8.2
    • None
    • yarn
    • None

    Description

      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...
      (rm log see screenshot)
      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().

      Attachments

        1. rm_log.png
          65 kB
          Shen Yinjie

        Activity

          People

            shenyinjie Shen Yinjie
            shenyinjie Shen Yinjie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: