Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Applied
HADOOP-12760andHDFS-11610
-
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
Attachments
Issue Links
- relates to
-
HADOOP-15291 TestMiniKdc fails on Java 9
- Resolved
-
HADOOP-15402 Prevent double logout of UGI's LoginContext
- Resolved