Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
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.