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

Fix tests faking kerberos to explicitly set ugi auth type

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-beta1, 2.8.2
    • Component/s: yarn
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: