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 "Íñigo Goiri (Jira)" <ji...@apache.org> on 2022/10/04 16:19:00 UTC
[jira] [Resolved] (YARN-11318) Improve FederationInterceptorREST#createInterceptorForSubCluster Use WebAppUtils
[ https://issues.apache.org/jira/browse/YARN-11318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Íñigo Goiri resolved YARN-11318.
--------------------------------
Fix Version/s: 3.4.0
Hadoop Flags: Reviewed
Resolution: Fixed
> 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
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org