[jira] [Updated] (YARN-2070) DistributedShell publishes unfriendly user information to the timeline server
[ https://issues.apache.org/jira/browse/YARN-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhijie Shen updated YARN-2070: -- Summary: DistributedShell publishes unfriendly user information to the timeline server (was: DistributedShell publish unfriendly user information to the timeline server) > 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 >Priority: Minor > > 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)
[jira] [Updated] (YARN-2070) DistributedShell publishes unfriendly user information to the timeline server
[ https://issues.apache.org/jira/browse/YARN-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhijie Shen updated YARN-2070: -- Labels: newbie (was: ) > 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 >Priority: Minor > Labels: newbie > > 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)
[jira] [Updated] (YARN-2070) DistributedShell publishes unfriendly user information to the timeline server
[ https://issues.apache.org/jira/browse/YARN-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Kanter updated YARN-2070: Attachment: YARN-2070.patch > 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)