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">
|
||||
<head>
|
||||
<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/dataTables.bootstrap.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/static/rbf.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/rbf.css" />
|
||||
<title>Router Information</title>
|
||||
</head>
|
||||
<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.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/dataTables.bootstrap.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-helpers-1.1.1.min.js"></script>
|
||||
<script type="text/javascript" src="/static/dfs-dust.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/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/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-helpers-1.1.1.min.js"></script>
|
||||
<script type="text/javascript" src="static/dfs-dust.js"></script>
|
||||
<script type="text/javascript" src="federationhealth.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user