Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.0.0-alpha, 3.0.0-alpha1
-
None
-
None
-
Incorporated into parent jira.
Description
The kerberos login module's logout method arguably has a bug. Subject#getPrivateCredentials() returns a synchronized set. Iterating the set requires explicitly locking the set. The Krb5LoginModule#logout() is iterating and modifying the set w/o a lock. This may lead to a ConcurrentModificationException which is what lead to UGI.getCurrentUser() being unnecessarily synchronized.
Attachments
Attachments
Issue Links
- is required by
-
HADOOP-9749 Remove synchronization for UGI.getCurrentUser
- Resolved
- requires
-
HADOOP-9852 UGI login user keytab and principal should not be static
- Resolved