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

Daryn Sharp updated HADOOP-7854:
--------------------------------

    Attachment: HADOOP-7854.patch

Simply added synchronized keyword.  I'm not sure how I can write a unit test...
                
> UGI getCurrentUser is not synchronized
> --------------------------------------
>
>                 Key: HADOOP-7854
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7854
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 0.20.205.1
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>         Attachments: HADOOP-7854.patch
>
>
> Sporadic {{ConcurrentModificationExceptions}} are originating from 
> {{UGI.getCurrentUser}} when it needs to create a new instance.  The problem 
> was specifically observed in a JT under heavy load when a post-job cleanup is 
> accessing the UGI while a new job is being processed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to