You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2017/03/07 16:02:38 UTC

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

     [ https://issues.apache.org/jira/browse/HADOOP-9749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daryn Sharp updated HADOOP-9749:
--------------------------------
    Attachment: HADOOP-9749.trunk.2.patch

Updated stale patch to account for contextual changes.

> 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: 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HADOOP-9749.branch-2.patch, HADOOP-9749.trunk.2.patch, HADOOP-9749.trunk.patch, HADOOP-9749.trunk.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org