Weiwei Yang commented on YARN-3526:

Hello Vinod

I added the test case in TestRMFailover.testRMWebAppRedirect as below

+    header = getHeader("Refresh", rm2Url + "/proxy/" + fakeAppId);
+    assertEquals(null, header);

when I gave a fake app ID, it will not return me a redirect link, this tests 
the coverage of embedded proxy server. (Now it is ignored because YARN-3601 is 
not yet resolved). The standalone mode can be tested in 
testWebAppProxyInStandAloneMode, so not necessary to add more.

> ApplicationMaster tracking URL is incorrectly redirected on a QJM cluster
> -------------------------------------------------------------------------
>                 Key: YARN-3526
>                 URL: https://issues.apache.org/jira/browse/YARN-3526
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager, webapp
>    Affects Versions: 2.6.0
>         Environment: Red Hat Enterprise Linux Server 6.4 
>            Reporter: Weiwei Yang
>            Assignee: Weiwei Yang
>              Labels: BB2015-05-TBR
>         Attachments: YARN-3526.001.patch, YARN-3526.002.patch
> On a QJM HA cluster, view RM web UI to track job status, it shows
> This is standby RM. Redirecting to the current active RM: 
> http://<active-RM>:8088/proxy/application_1427338037905_0008/mapreduce
> it refreshes every 3 sec but never going to the correct tracking page.

This message was sent by Atlassian JIRA

Reply via email to