MAPREDUCE-6359. In RM HA setup, Cluster tab links populated with AM hostname instead of RM. Contributed by zhaoyunjiong.

This commit is contained in:
Junping Du 2015-05-09 06:11:13 -07:00
parent 02a4a22b9c
commit df36ad0a08
2 changed files with 4 additions and 1 deletions

View File

@ -402,6 +402,9 @@ Release 2.8.0 - UNRELEASED
MAPREDUCE-4750. Enable NNBenchWithoutMR in MapredTestDriver (Liang Xie
and Jason Lowe via raviprak)
MAPREDUCE-6359. In RM HA setup, "Cluster" tab links populated with AM
hostname instead of RM. (zhaoyunjiong via junping_du)
Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES

View File

@ -62,7 +62,7 @@ public class AppController extends Controller implements AMParams {
set(APP_ID, app.context.getApplicationID().toString());
set(RM_WEB,
JOINER.join(MRWebAppUtil.getYARNWebappScheme(),
WebAppUtils.getResolvedRMWebAppURLWithoutScheme(conf,
WebAppUtils.getResolvedRemoteRMWebAppURLWithoutScheme(conf,
MRWebAppUtil.getYARNHttpPolicy())));
}