You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2013/07/18 19:48:49 UTC

[jira] [Created] (HADOOP-9749) Remove synchronization for UGI.getCurrentUser

Daryn Sharp created HADOOP-9749:
-----------------------------------

             Summary: Remove synchronization for UGI.getCurrentUser
                 Key: HADOOP-9749
                 URL: https://issues.apache.org/jira/browse/HADOOP-9749
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: security
    Affects Versions: 2.0.0-alpha, 0.23.0, 3.0.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp
            Priority: Critical


HADOOP-7854 added synchronization to {{getCurrentUser}} due to {{ConcurrentModificationExceptions}}.  This degrades NN call handler performance.

The problem was not well understood at the time, but it's caused by a collision between relogin and {{getCurrentUser}} due to a bug in {{Krb5LoginModule}}.  Avoiding the collision will allow removal of the synchronization.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira