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

Kihwal Lee updated HADOOP-14659:
--------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 2.8.3
                   3.0.0-beta1
                   2.9.0
           Status: Resolved  (was: Patch Available)

Committed to trunk, branch-2 and branch-2.8.

> UGI getShortUserName does not need to search the Subject
> --------------------------------------------------------
>
>                 Key: HADOOP-14659
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14659
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: common
>    Affects Versions: 2.0.0-alpha
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 2.9.0, 3.0.0-beta1, 2.8.3
>
>         Attachments: HADOOP-14659.patch
>
>
> {{UGI#getShortUserName}} searches the subject for the {{User}} instance.  
> It's not cheap to iterate a synchronized set, copy matches into a new set, 
> then iterating that set.  The UGI ctor already set the {{User}} into a final 
> field...



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
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