hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuan Gong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1525) Web UI should redirect to active RM when HA is enabled.
Date Tue, 21 Jan 2014 18:49:21 GMT

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

Xuan Gong commented on YARN-1525:
---------------------------------

[~cindy2012]
Comments:
* Looks like the web service does not work.
* Can we add some test cases ?
* At RMWebApp#findRedirectPath()
{code}
for (String currentId : rmIds) {
.
.
}
{code}
Can we use while loop until we find the active rm ? Also, we may need to set a MAX_WAITTING_TIME.
Then we can break the while loop either we find the active rm or it exceeds the MAX_WAITTING_TIME.
* nit
{code}
    InetSocketAddress rmSock =
        yarnConf.getSocketAddr(YarnConfiguration.RM_WEBAPP_ADDRESS,
            YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS,
            YarnConfiguration.DEFAULT_RM_WEBAPP_PORT);
{code}
The variable is not used. We can remove it.

> Web UI should redirect to active RM when HA is enabled.
> -------------------------------------------------------
>
>                 Key: YARN-1525
>                 URL: https://issues.apache.org/jira/browse/YARN-1525
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Cindy Li
>         Attachments: YARN1525.patch.v1, YARN1525.patch.v2
>
>
> When failover happens, web UI should redirect to the current active rm.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message