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

This commit is contained in:
Akira Ajisaka 2015-01-30 02:49:10 +09:00
parent 9dd0b7a2ab
commit 342efa110a
6 changed files with 8 additions and 5 deletions

View File

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

View File

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