Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7862

YARN native service REST endpoint needs user.name as query param

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • yarn-native-services
    • None

    Description

      While accessing below yarn rest end point with POST method type,

      http://rm_ip:8088/app/v1/services

      below error is coming in non-secure cluster.

      {
      "diagnostics": "Null user"
      }

      When user.name is provided as query param with dr.who we can see that yarn started service with proxy user, not dr.who. 

      In non-secure cluster, native service should ideally take the user from remote ugi.

      in secure cluster, its better to derive user from kerberized shell.

       

      cc/  jianhe eyang

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sunilg Sunil G
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: