Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • security
    • None
    • Reviewed

    Description

      This is the same cause as HADOOP-15291, but this time we may need to fix UserGroupInformation.

      [ERROR] testReloginAfterFailedRelogin(org.apache.hadoop.security.TestUGILoginFromKeytab)  Time elapsed: 1.157 s  <<< ERROR!
      org.apache.hadoop.security.KerberosAuthException:
      Login failure for user: user1@EXAMPLE.COM javax.security.auth.login.LoginException: java.lang.NullPointerException: invalid null input(s)
      	at java.base/java.util.Objects.requireNonNull(Objects.java:246)
      	at java.base/javax.security.auth.Subject$SecureSet.remove(Subject.java:1172)
              ...
      	at org.apache.hadoop.security.UserGroupInformation$HadoopLoginContext.logout(UserGroupInformation.java:1888)
      	at org.apache.hadoop.security.UserGroupInformation.unprotectedRelogin(UserGroupInformation.java:1129)
      	at org.apache.hadoop.security.UserGroupInformation.relogin(UserGroupInformation.java:1109)
      	at org.apache.hadoop.security.UserGroupInformation.reloginFromKeytab(UserGroupInformation.java:1078)
      	at org.apache.hadoop.security.UserGroupInformation.reloginFromKeytab(UserGroupInformation.java:1060)
      	at org.apache.hadoop.security.TestUGILoginFromKeytab.testReloginAfterFailedRelogin(TestUGILoginFromKeytab.java:363)
      

      Attachments

        1. HADOOP-15294.1.patch
          2 kB
          Takanobu Asanuma

        Issue Links

          Activity

            People

              tasanuma Takanobu Asanuma
              tasanuma Takanobu Asanuma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: