You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "fanshilun (Jira)" <ji...@apache.org> on 2022/09/26 11:19:00 UTC

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

fanshilun created YARN-11318:
--------------------------------

             Summary: 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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org