[
https://issues.apache.org/jira/browse/HADOOP-9336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590411#comment-13590411
]
Hudson commented on HADOOP-9336:
--------------------------------
Integrated in Hadoop-Yarn-trunk #142 (See
[https://builds.apache.org/job/Hadoop-Yarn-trunk/142/])
HADOOP-9336. Allow UGI of current connection to be queried. Contributed by
Daryn Sharp. (Revision 1451376)
Result = SUCCESS
kihwal : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1451376
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestDoAsEffectiveUser.java
> Allow UGI of current connection to be queried
> ---------------------------------------------
>
> Key: HADOOP-9336
> URL: https://issues.apache.org/jira/browse/HADOOP-9336
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ipc
> Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Priority: Critical
> Fix For: 0.23.7, 2.0.4-beta
>
> Attachments: HADOOP-9336.branch-23.patch,
> HADOOP-9336.branch-23.patch, HADOOP-9336.branch-23.patch, HADOOP-9336.patch,
> HADOOP-9336.patch, HADOOP-9336.patch
>
>
> Querying {{UGI.getCurrentUser}} is synch'ed and inefficient for short-lived
> RPC requests. Since the connection already contains the UGI, there should be
> a means to query it directly and avoid a call to {{UGI.getCurrentUser}}.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira