liubin101 opened a new pull request, #6100: URL: https://github.com/apache/hadoop/pull/6100
### Description of PR 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. ### How was this patch tested? unit test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
