HADOOP-9907. Webapp http://hostname:port/metrics link is not working. (aajisaka)

(cherry picked from commit 342efa110a)
This commit is contained in:
Akira Ajisaka 2015-01-30 02:49:10 +09:00
parent 7411c74b11
commit 1081b4c4a7
6 changed files with 8 additions and 5 deletions

View File

@ -432,6 +432,9 @@ Release 2.7.0 - UNRELEASED
HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because
of non-ascii characters. (ozawa) of non-ascii characters. (ozawa)
HADOOP-9907. Webapp http://hostname:port/metrics link is not working.
(aajisaka)
Release 2.6.1 - UNRELEASED Release 2.6.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -83,6 +83,6 @@ public class NavBlock extends HtmlBlock {
li().a("/conf", "Configuration")._(). li().a("/conf", "Configuration")._().
li().a("/logs", "Local logs")._(). li().a("/logs", "Local logs")._().
li().a("/stacks", "Server stacks")._(). li().a("/stacks", "Server stacks")._().
li().a("/metrics", "Server metrics")._()._()._(); li().a("/jmx?qry=Hadoop:*", "Server metrics")._()._()._();
} }
} }

View File

@ -70,6 +70,6 @@ public class HsNavBlock extends HtmlBlock {
li().a("/conf", "Configuration")._(). li().a("/conf", "Configuration")._().
li().a("/logs", "Local logs")._(). li().a("/logs", "Local logs")._().
li().a("/stacks", "Server stacks")._(). li().a("/stacks", "Server stacks")._().
li().a("/metrics", "Server metrics")._()._()._(); li().a("/jmx?qry=Hadoop:*", "Server metrics")._()._()._();
} }
} }

View File

@ -36,6 +36,6 @@ public class NavBlock extends HtmlBlock {
li().a("/conf", "Configuration")._(). li().a("/conf", "Configuration")._().
li().a("/stacks", "Thread dump")._(). li().a("/stacks", "Thread dump")._().
li().a("/logs", "Logs")._(). li().a("/logs", "Logs")._().
li().a("/metrics", "Metrics")._()._()._(); li().a("/jmx?qry=Hadoop:*", "Metrics")._()._()._();
} }
} }

View File

@ -59,7 +59,7 @@ public class NavBlock extends HtmlBlock implements YarnWebParams {
.li().a("/conf", "Configuration")._() .li().a("/conf", "Configuration")._()
.li().a("/logs", "Local logs")._() .li().a("/logs", "Local logs")._()
.li().a("/stacks", "Server stacks")._() .li().a("/stacks", "Server stacks")._()
.li().a("/metrics", "Server metrics")._()._()._(); .li().a("/jmx?qry=Hadoop:*", "Server metrics")._()._()._();
} }
} }

View File

@ -51,6 +51,6 @@ public class NavBlock extends HtmlBlock {
li().a("/conf", "Configuration")._(). li().a("/conf", "Configuration")._().
li().a("/logs", "Local logs")._(). li().a("/logs", "Local logs")._().
li().a("/stacks", "Server stacks")._(). li().a("/stacks", "Server stacks")._().
li().a("/metrics", "Server metrics")._()._()._(); li().a("/jmx?qry=Hadoop:*", "Server metrics")._()._()._();
} }
} }