Description
Bellow is the code of using the string of current user object as the "user" value.
entity.addPrimaryFilter("user", UserGroupInformation.getCurrentUser()
.toString());
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.
Attachments
Attachments
Issue Links
- relates to
-
YARN-1690 Sending timeline entities+events from Distributed shell
- Closed