Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-1530 [Umbrella] Store, manage and serve per-framework application-timeline data
  3. YARN-2070

DistributedShell publishes unfriendly user information to the timeline server

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
    • Hadoop Flags:
      Reviewed

      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

        1. YARN-2070.patch
          3 kB
          Robert Kanter

          Issue Links

            Activity

              People

              • Assignee:
                rkanter Robert Kanter
                Reporter:
                zjshen Zhijie Shen
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: