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 "Xuan Gong (JIRA)" <ji...@apache.org> on 2015/06/12 20:54:01 UTC

[jira] [Commented] (YARN-3714) AM proxy filter can not get proper default proxy address if RM-HA is enabled

    [ https://issues.apache.org/jira/browse/YARN-3714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583890#comment-14583890 ] 

Xuan Gong commented on YARN-3714:
---------------------------------

[~iwasakims] Did you see this issue in a real cluster environment ? As far as I know, when we start RM, and we only set up yarn.resourcemanager.hostname.rm-id, we will set this for all the service address, including yarn.resourcemanager.webapp.address.rm-id and yarn.resourcemanager.webapp.https.address.rm-id.

{code}
    // Set HA configuration should be done before login
    this.rmContext.setHAEnabled(HAUtil.isHAEnabled(this.conf));
    if (this.rmContext.isHAEnabled()) {
      HAUtil.verifyAndSetConfiguration(this.conf);
    }
{code}


> 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
>         Attachments: YARN-3714.001.patch
>
>
> 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
(v6.3.4#6332)