[ 
https://issues.apache.org/jira/browse/HADOOP-14659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16095416#comment-16095416
 ] 

Hudson commented on HADOOP-14659:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12039 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/12039/])
HADOOP-14659. UGI getShortUserName does not need to search the Subject. 
(kihwal: rev b3269f7cc119cbc51b16118b918f345f970804bc)
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/UserGroupInformation.java


> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to