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

Reply via email to