Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 2.0.0-alpha, 3.0.0-alpha1
    • None
    • security
    • 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

        1. HADOOP-9856.patch
          3 kB
          Daryn Sharp

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: