MAPREDUCE-3324. Not All HttpServer tools links (stacks,logs,config,metrics) are accessible through all UI servers (Jonathan Eagles via mahadev) - Merging r1201914 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1201916 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mahadev Konar 2011-11-14 21:31:38 +00:00
parent f696d51b8d
commit 686975c9fb
3 changed files with 10 additions and 2 deletions

View File

@ -66,6 +66,9 @@ Release 0.23.1 - Unreleased
MAPREDUCE-3379. Fixed LocalResourceTracker in NodeManager to remove deleted MAPREDUCE-3379. Fixed LocalResourceTracker in NodeManager to remove deleted
cache entries correctly. (Siddharth Seth via vinodkv) cache entries correctly. (Siddharth Seth via vinodkv)
MAPREDUCE-3324. Not All HttpServer tools links (stacks,logs,config,metrics) are
accessible through all UI servers (Jonathan Eagles via mahadev)
Release 0.23.0 - 2011-11-01 Release 0.23.0 - 2011-11-01
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -68,6 +68,7 @@ public class HsNavBlock extends HtmlBlock {
h3("Tools"). h3("Tools").
ul(). ul().
li().a("/conf", "Configuration")._(). li().a("/conf", "Configuration")._().
li().a("/logs", "Local logs")._().
li().a("/stacks", "Server stacks")._(). li().a("/stacks", "Server stacks")._().
li().a("/metrics", "Server metrics")._()._()._(). li().a("/metrics", "Server metrics")._()._()._().
div("#themeswitcher")._(); div("#themeswitcher")._();

View File

@ -37,8 +37,12 @@ public class NavBlock extends HtmlBlock implements YarnWebParams {
.li() .li()
.a(url("allContainers"), "List of Containers")._() .a(url("allContainers"), "List of Containers")._()
._() ._()
.h3()._("Tools")._() .h3("Tools")
._() .ul()
.li().a("/conf", "Configuration")._()
.li().a("/logs", "Local logs")._()
.li().a("/stacks", "Server stacks")._()
.li().a("/metrics", "Server metrics")._()._()._()
.div("#themeswitcher")._(); .div("#themeswitcher")._();
} }