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

Fix tests faking kerberos to explicitly set ugi auth type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-beta1, 2.8.2
    • yarn
    • None
    • Reviewed

    Description

      TestTokenClientRMService and TestRMDelegationTokens are faking kerberos authentication. The remote user ugis are explicitly created as kerberos but not the login user's ugi. Prior to HADOOP-9747 new ugi instances defaulted to kerberos even if not kerberos. Now ugis default to kerberos only if actually kerberos based which causes the login user based tests to fail.

      Attachments

        1. YARN-7048.patch
          3 kB
          Daryn Sharp

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: