Daryn Sharp commented on HADOOP-9747:

Regarding auto-renewal, I specifically made getLoginUser only auto-renew if 
it's the first to set the login user.  Ie. If another concurrent login 
(extremely unlikely in practice, but possible) races with the other and loses 
the race, it doesn't spawn a renewal thread.  That's why it is guarded by a CAS.

> Reduce unnecessary UGI synchronization
> --------------------------------------
>                 Key: HADOOP-9747
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9747
>             Project: Hadoop Common
>          Issue Type: Bug
>          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-9747-trunk-03.patch, HADOOP-9747-trunk-04.patch, 
> HADOOP-9747-trunk.01.patch, HADOOP-9747-trunk.02.patch, 
> HADOOP-9747.2.branch-2.patch, HADOOP-9747.2.trunk.patch, 
> HADOOP-9747.branch-2.patch, HADOOP-9747.trunk.patch
> Jstacks of heavily loaded NNs show up to dozens of threads blocking in the 
> UGI.

This message was sent by Atlassian JIRA

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

Reply via email to