diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html index 496326b255..cbe983f034 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.html @@ -19,9 +19,9 @@ - - - + + + Router Information @@ -432,14 +432,14 @@ - - - - - - - - + + + + + + + + diff --git a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js index 58a23826cf..2d770ad691 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js +++ b/hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/webapps/router/federationhealth.js @@ -33,9 +33,9 @@ function load_overview() { var BEANS = [ - {"name": "federation", "url": "/jmx?qry=Hadoop:service=Router,name=FederationState"}, - {"name": "router", "url": "/jmx?qry=Hadoop:service=Router,name=Router"}, - {"name": "mem", "url": "/jmx?qry=java.lang:type=Memory"} + {"name": "federation", "url": "jmx?qry=Hadoop:service=Router,name=FederationState"}, + {"name": "router", "url": "jmx?qry=Hadoop:service=Router,name=Router"}, + {"name": "mem", "url": "jmx?qry=java.lang:type=Memory"} ]; var HELPERS = { @@ -147,7 +147,7 @@ } $.get( - '/jmx?qry=Hadoop:service=Router,name=FederationState', + 'jmx?qry=Hadoop:service=Router,name=FederationState', guard_with_startup_progress(function (resp) { var data = workaround(resp.beans[0]); var base = dust.makeBase(HELPERS); @@ -211,7 +211,7 @@ } $.get( - '/jmx?qry=Hadoop:service=Router,name=FederationState', + 'jmx?qry=Hadoop:service=Router,name=FederationState', guard_with_startup_progress(function (resp) { var data = workaround(resp.beans[0]); var base = dust.makeBase(HELPERS); @@ -289,7 +289,7 @@ } $.get( - '/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo', + 'jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo', guard_with_startup_progress(function (resp) { var data = workaround(resp.beans[0]); var base = dust.makeBase(HELPERS); @@ -342,7 +342,7 @@ } $.get( - '/jmx?qry=Hadoop:service=Router,name=FederationState', + 'jmx?qry=Hadoop:service=Router,name=FederationState', guard_with_startup_progress(function (resp) { var data = workaround(resp.beans[0]); var base = dust.makeBase(HELPERS);