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 "zhengchenyu (Jira)" <ji...@apache.org> on 2021/05/18 10:05:00 UTC

[jira] [Created] (YARN-10775) Federation: Yarn running app web can't be unable to connect, because AppMaster can't redirect to the right address.

zhengchenyu created YARN-10775:
----------------------------------

             Summary: Federation: Yarn running app web can't be unable to connect, because AppMaster can't redirect to the right address. 
                 Key: YARN-10775
                 URL: https://issues.apache.org/jira/browse/YARN-10775
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: zhengchenyu


I setup a yarn federation cluster, I can't connect the running app web, but the completed app's web works.

By some debug info, I found the reason. Because AmIpFilter.PROXY_HOSTS is set by configuration (do it in AmFilterInitializer.getProxyHostsAndPortsForAmFilter). In client configuration, there are no configuation about 'rm web port', so the url can't not be redirect. 

I think client should not know rm's web port, especially in yarn federation mode.

Note:
Here is my specially configuration for client. I use ha for select router randomly.

|| config || value ||
| yarn.resourcemanager.ha.enabled   | true |
| yarn.resourcemanager.ha.rm-ids | r1 |
|yarn.resourcemanager.address.r1 | router_host:8050 |
|yarn.resourcemanager.scheduler.address.r1 | localhost:8049 |




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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