[
https://issues.apache.org/jira/browse/YARN-10775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17354290#comment-17354290
]
zhengchenyu commented on YARN-10775:
------------------------------------
I think maybe we need to construct a proxy server in nm to proxy am's web
request, though it is tedious。
> 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
> Assignee: zhengchenyu
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]