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

Make yarn router webservice forward auth type configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • router, yarn

    Description

      Now if we request yarn router webservice to get apps without authentication, will return null and print error log "Unable to obtain user name, user not authenticated",  because the RouterWebServiceUtil#genericForward will try to get callerUGI from HttpServletRequest.

      I think we can check the config `hadoop.http.authentication.type` to determine whether the user should be authenticated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            inVisible liu bin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: