You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by go...@apache.org on 2016/12/16 21:00:59 UTC
hive git commit: HIVE-15420: LLAP UI: Relativize resources to allow
proxied/secured views (Gopal V, reviewed by Rajesh Balamohan)
Repository: hive
Updated Branches:
refs/heads/master 382dc2084 -> 7f46c8d91
HIVE-15420: LLAP UI: Relativize resources to allow proxied/secured views (Gopal V, reviewed by Rajesh Balamohan)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/7f46c8d9
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/7f46c8d9
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/7f46c8d9
Branch: refs/heads/master
Commit: 7f46c8d9182baca91557cc4322c859dedef88315
Parents: 382dc20
Author: Gopal V <go...@apache.org>
Authored: Fri Dec 16 13:00:33 2016 -0800
Committer: Gopal V <go...@apache.org>
Committed: Fri Dec 16 13:00:33 2016 -0800
----------------------------------------------------------------------
.../src/main/resources/hive-webapps/llap/index.html | 14 +++++++-------
.../main/resources/hive-webapps/llap/js/metrics.js | 2 +-
2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/7f46c8d9/llap-server/src/main/resources/hive-webapps/llap/index.html
----------------------------------------------------------------------
diff --git a/llap-server/src/main/resources/hive-webapps/llap/index.html b/llap-server/src/main/resources/hive-webapps/llap/index.html
index 31a27a0..73c03c1 100644
--- a/llap-server/src/main/resources/hive-webapps/llap/index.html
+++ b/llap-server/src/main/resources/hive-webapps/llap/index.html
@@ -25,19 +25,19 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
- <link href="/css/bootstrap.min.css" rel="stylesheet">
- <link href="/css/bootstrap-theme.min.css" rel="stylesheet">
- <link href="/css/hive.css" rel="stylesheet">
- <script type="text/javascript" src="/js/jquery.min.js"></script>
- <script type="text/javascript" src="/js/jquery.sparkline.min.js"></script>
- <script type="text/javascript" src="/js/metrics.js"></script>
+ <link href="css/bootstrap.min.css" rel="stylesheet">
+ <link href="css/bootstrap-theme.min.css" rel="stylesheet">
+ <link href="css/hive.css" rel="stylesheet">
+ <script type="text/javascript" src="js/jquery.min.js"></script>
+ <script type="text/javascript" src="js/jquery.sparkline.min.js"></script>
+ <script type="text/javascript" src="js/metrics.js"></script>
</head>
<body>
<div class="navbar navbar-fixed-top navbar-default">
<div class="container">
<div class="navbar-header">
- <a class="navbar-brand" href="#"><img src="/images/hive_logo.jpeg" alt="Hive Logo"/></a>
+ <a class="navbar-brand" href="#"><img src="images/hive_logo.jpeg" alt="Hive Logo"/></a>
</div>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/hive/blob/7f46c8d9/llap-server/src/main/resources/hive-webapps/llap/js/metrics.js
----------------------------------------------------------------------
diff --git a/llap-server/src/main/resources/hive-webapps/llap/js/metrics.js b/llap-server/src/main/resources/hive-webapps/llap/js/metrics.js
index 7bb2890..4c41c34 100644
--- a/llap-server/src/main/resources/hive-webapps/llap/js/metrics.js
+++ b/llap-server/src/main/resources/hive-webapps/llap/js/metrics.js
@@ -227,7 +227,7 @@ $(function() {
var views = [llap.view.Hostname, llap.view.Heap, llap.view.Cache, llap.view.Executors, llap.view.Tasks, llap.view.System]
setInterval(function() {
- $.getJSON("/jmx", function(jmx){
+ $.getJSON("jmx", function(jmx){
models.forEach(function (m) { m.push(jmx); });
views.forEach(function (v) { v.refresh(); });
});