Masatake Iwasaki commented on YARN-3714:

In non-HA settings, if users do not explicitly set the 
{{yarn.resourcemanager.webapp.address}} in configuration, 
{{WebAppUtils#getResolvedRMWebAppURLWithoutScheme}} returns RM webapp address 
based on the value of {{yarn.resourcemanager.hostname}} via the default value 
set by yarn-default.xml.

As a result, WebAppUtils#getProxyHostsAndPortsForAmFilter can return proper 
proxy address.

This does not apply to {{yarn.resourcemanager.hostname._rm-id_}} in HA mode.

> AM proxy filter can not get proper default proxy address if RM-HA is enabled
> ----------------------------------------------------------------------------
>                 Key: YARN-3714
>                 URL: https://issues.apache.org/jira/browse/YARN-3714
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
> Default proxy address could not be got without setting 
> {{yarn.resourcemanager.webapp.address._rm-id_}} and/or 
> {{yarn.resourcemanager.webapp.https.address._rm-id_}} explicitly if RM-HA is 
> enabled.

This message was sent by Atlassian JIRA

Reply via email to