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 "Song Jiacheng (Jira)" <ji...@apache.org> on 2021/05/25 06:52:00 UTC

[jira] [Updated] (YARN-10786) Federation:We can't access the AM page while using federation

     [ https://issues.apache.org/jira/browse/YARN-10786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Song Jiacheng updated YARN-10786:
---------------------------------
    Description: 
The reason of this is that AM gets the proxy URI from config yarn.web-proxy.address, and if it does not exist, it will get the URI from yarn.resourcemanager.webapp.address.

But in federation, we don't know which RM will be the home cluster of an application, so I do this fix:

<property>
 <name>yarn.web-proxy.address</name>
 <value>rm1:9088,rm2:9088</value>
 </property>

And then gets the config with Configuration#getStrings.

So that I can access the AM page now

  was:
The reason of this is that AM gets the proxy URI from config yarn.web-proxy.address, and it does not exist, it will gets the URI from yarn.resourcemanager.webapp.address.

But in federation, we don't know which RM will be the home cluster of an application, so I do this fix:

<property>
 <name>yarn.web-proxy.address</name>
 <value>rm1:9088,rm2:9088</value>
</property>

And then gets the config with Configuration#getStrings.

So that I can access the AM page now


> Federation:We can't access the AM page while using federation
> -------------------------------------------------------------
>
>                 Key: YARN-10786
>                 URL: https://issues.apache.org/jira/browse/YARN-10786
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: federation
>    Affects Versions: 3.2.1
>            Reporter: Song Jiacheng
>            Priority: Major
>              Labels: federation
>
> The reason of this is that AM gets the proxy URI from config yarn.web-proxy.address, and if it does not exist, it will get the URI from yarn.resourcemanager.webapp.address.
> But in federation, we don't know which RM will be the home cluster of an application, so I do this fix:
> <property>
>  <name>yarn.web-proxy.address</name>
>  <value>rm1:9088,rm2:9088</value>
>  </property>
> And then gets the config with Configuration#getStrings.
> So that I can access the AM page now



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

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