[
https://issues.apache.org/jira/browse/YARN-11318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated YARN-11318:
------------------------------
Parent: YARN-5597
Issue Type: Sub-task (was: Improvement)
> Improve FederationInterceptorREST#createInterceptorForSubCluster Use
> WebAppUtils
> --------------------------------------------------------------------------------
>
> Key: YARN-11318
> URL: https://issues.apache.org/jira/browse/YARN-11318
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: federation, router
> Affects Versions: 3.4.0
> Reporter: Shilun Fan
> Assignee: Shilun Fan
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]