hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhijie Shen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2070) DistributedShell publishes unfriendly user information to the timeline server
Date Wed, 21 May 2014 22:43:38 GMT

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

Zhijie Shen commented on YARN-2070:
-----------------------------------

bq.  the Server itself is going to start injecting a user-name that is the sole authority.


In YARN-1937, I try to keep users away from the system information (entity owner here), and
it will be removed before the entity/event is returned back to the user.

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

Mime
View raw message