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

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: