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

Hudson commented on YARN-2070:
------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #646 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/646/])
YARN-2070. Made DistributedShell publish the short user name to the timeline 
server. Contributed by Robert Kanter. (zjshen: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1617837)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/src/main/java/org/apache/hadoop/yarn/applications/distributedshell/ApplicationMaster.java


> DistributedShell publishes unfriendly user information to the timeline server
> -----------------------------------------------------------------------------
>
>                 Key: YARN-2070
>                 URL: https://issues.apache.org/jira/browse/YARN-2070
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Robert Kanter
>            Priority: Minor
>              Labels: newbie
>             Fix For: 2.6.0
>
>         Attachments: YARN-2070.patch
>
>
> Bellow is the code of using the string of current user object as the "user" 
> value.
> {code}
>     entity.addPrimaryFilter("user", UserGroupInformation.getCurrentUser()
>         .toString());
> {code}
> When we use kerberos authentication, it's going to output the full name, such 
> as "zjshen/localhost@LOCALHOST (auth.KERBEROS)". It is not user friendly for 
> searching by the primary filters. It's better to use shortUserName instead.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to