You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/09/27 01:54:00 UTC

[jira] [Updated] (YARN-11318) Improve FederationInterceptorREST#createInterceptorForSubCluster Use WebAppUtils

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

ASF GitHub Bot updated YARN-11318:
----------------------------------
    Labels: pull-request-available  (was: )

> Improve FederationInterceptorREST#createInterceptorForSubCluster Use WebAppUtils
> --------------------------------------------------------------------------------
>
>                 Key: YARN-11318
>                 URL: https://issues.apache.org/jira/browse/YARN-11318
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: federation, router
>    Affects Versions: 3.4.0
>            Reporter: fanshilun
>            Assignee: fanshilun
>            Priority: Major
>              Labels: pull-request-available
>
> FederationInterceptorREST#createInterceptorForSubCluster
>  
> {code:java}
> private DefaultRequestInterceptorREST createInterceptorForSubCluster(
>     SubClusterId subClusterId, String webAppAddress) {
>   .....
>   interceptorInstance.setWebAppAddress("http://" + webAppAddress);
>   .....
> } {code}
>  
> setWebAppAddress should not use http directly, the prefix should be confirmed according to the policy.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org