[ 
https://issues.apache.org/jira/browse/YARN-11574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liu bin updated YARN-11574:
---------------------------
    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.

  was:
Now we can't request yarn router apps without authentication, because router 
webservice 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.


> Make yarn router webservice forward auth configurable
> -----------------------------------------------------
>
>                 Key: YARN-11574
>                 URL: https://issues.apache.org/jira/browse/YARN-11574
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: router, yarn
>            Reporter: liu bin
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to