HDFS-14899. Use Relative URLS in Hadoop HDFS RBF. Contributed by David Mollitor.
This commit is contained in:
parent
44bc095998
commit
6e5cd5273f
@ -19,9 +19,9 @@
|
|||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<link rel="stylesheet" type="text/css" href="/static/bootstrap-3.4.1/css/bootstrap.min.css" />
|
<link rel="stylesheet" type="text/css" href="static/bootstrap-3.4.1/css/bootstrap.min.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/static/dataTables.bootstrap.css" />
|
<link rel="stylesheet" type="text/css" href="static/dataTables.bootstrap.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="/static/rbf.css" />
|
<link rel="stylesheet" type="text/css" href="static/rbf.css" />
|
||||||
<title>Router Information</title>
|
<title>Router Information</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -432,14 +432,14 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript" src="/static/jquery-3.4.1.min.js"></script>
|
<script type="text/javascript" src="static/jquery-3.4.1.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/jquery.dataTables.min.js"></script>
|
<script type="text/javascript" src="static/jquery.dataTables.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/bootstrap-3.4.1/js/bootstrap.min.js"></script>
|
<script type="text/javascript" src="static/bootstrap-3.4.1/js/bootstrap.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/dataTables.bootstrap.js"></script>
|
<script type="text/javascript" src="static/dataTables.bootstrap.js"></script>
|
||||||
<script type="text/javascript" src="/static/moment.min.js"></script>
|
<script type="text/javascript" src="static/moment.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/dust-full-2.0.0.min.js"></script>
|
<script type="text/javascript" src="static/dust-full-2.0.0.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/dust-helpers-1.1.1.min.js"></script>
|
<script type="text/javascript" src="static/dust-helpers-1.1.1.min.js"></script>
|
||||||
<script type="text/javascript" src="/static/dfs-dust.js"></script>
|
<script type="text/javascript" src="static/dfs-dust.js"></script>
|
||||||
<script type="text/javascript" src="federationhealth.js"></script>
|
<script type="text/javascript" src="federationhealth.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
|
|
||||||
function load_overview() {
|
function load_overview() {
|
||||||
var BEANS = [
|
var BEANS = [
|
||||||
{"name": "federation", "url": "/jmx?qry=Hadoop:service=Router,name=FederationState"},
|
{"name": "federation", "url": "jmx?qry=Hadoop:service=Router,name=FederationState"},
|
||||||
{"name": "router", "url": "/jmx?qry=Hadoop:service=Router,name=Router"},
|
{"name": "router", "url": "jmx?qry=Hadoop:service=Router,name=Router"},
|
||||||
{"name": "mem", "url": "/jmx?qry=java.lang:type=Memory"}
|
{"name": "mem", "url": "jmx?qry=java.lang:type=Memory"}
|
||||||
];
|
];
|
||||||
|
|
||||||
var HELPERS = {
|
var HELPERS = {
|
||||||
@ -147,7 +147,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.get(
|
$.get(
|
||||||
'/jmx?qry=Hadoop:service=Router,name=FederationState',
|
'jmx?qry=Hadoop:service=Router,name=FederationState',
|
||||||
guard_with_startup_progress(function (resp) {
|
guard_with_startup_progress(function (resp) {
|
||||||
var data = workaround(resp.beans[0]);
|
var data = workaround(resp.beans[0]);
|
||||||
var base = dust.makeBase(HELPERS);
|
var base = dust.makeBase(HELPERS);
|
||||||
@ -211,7 +211,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.get(
|
$.get(
|
||||||
'/jmx?qry=Hadoop:service=Router,name=FederationState',
|
'jmx?qry=Hadoop:service=Router,name=FederationState',
|
||||||
guard_with_startup_progress(function (resp) {
|
guard_with_startup_progress(function (resp) {
|
||||||
var data = workaround(resp.beans[0]);
|
var data = workaround(resp.beans[0]);
|
||||||
var base = dust.makeBase(HELPERS);
|
var base = dust.makeBase(HELPERS);
|
||||||
@ -289,7 +289,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.get(
|
$.get(
|
||||||
'/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo',
|
'jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo',
|
||||||
guard_with_startup_progress(function (resp) {
|
guard_with_startup_progress(function (resp) {
|
||||||
var data = workaround(resp.beans[0]);
|
var data = workaround(resp.beans[0]);
|
||||||
var base = dust.makeBase(HELPERS);
|
var base = dust.makeBase(HELPERS);
|
||||||
@ -342,7 +342,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.get(
|
$.get(
|
||||||
'/jmx?qry=Hadoop:service=Router,name=FederationState',
|
'jmx?qry=Hadoop:service=Router,name=FederationState',
|
||||||
guard_with_startup_progress(function (resp) {
|
guard_with_startup_progress(function (resp) {
|
||||||
var data = workaround(resp.beans[0]);
|
var data = workaround(resp.beans[0]);
|
||||||
var base = dust.makeBase(HELPERS);
|
var base = dust.makeBase(HELPERS);
|
||||||
|
Loading…
Reference in New Issue
Block a user