ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gna...@apache.org
Subject ambari git commit: AMBARI-20492. Knox Proxy - Ambari HIVE2.0 view doesn't showup due to Servicecheck issues. (gauravn7)
Date Mon, 20 Mar 2017 06:22:59 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 6104300fd -> fb2d99b26


AMBARI-20492. Knox Proxy - Ambari HIVE2.0 view doesn't showup due to Servicecheck issues.
(gauravn7)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/fb2d99b2
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/fb2d99b2
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/fb2d99b2

Branch: refs/heads/branch-2.5
Commit: fb2d99b2637ae9fbdbbc4de5f079072e63ce2364
Parents: 6104300
Author: Gaurav Nagar <grvngr@gmail.com>
Authored: Mon Mar 20 11:50:17 2017 +0530
Committer: Gaurav Nagar <grvngr@gmail.com>
Committed: Mon Mar 20 11:52:31 2017 +0530

----------------------------------------------------------------------
 contrib/views/hive20/src/main/resources/ui/app/index.html         | 2 +-
 .../hive20/src/main/resources/ui/app/services/tez-view-info.js    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/fb2d99b2/contrib/views/hive20/src/main/resources/ui/app/index.html
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/index.html b/contrib/views/hive20/src/main/resources/ui/app/index.html
index cc9141f..57179d8 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/index.html
+++ b/contrib/views/hive20/src/main/resources/ui/app/index.html
@@ -36,7 +36,7 @@
     {{content-for "body"}}
 
     <script src="assets/vendor.js"></script>
-    <script src="assets/ui.js"></script>
+    <script src="assets/ui.js" integrity=""></script>
 
     {{content-for "body-footer"}}
   </body>

http://git-wip-us.apache.org/repos/asf/ambari/blob/fb2d99b2/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js
----------------------------------------------------------------------
diff --git a/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js b/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js
index 02cc5af..2c0493e 100644
--- a/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js
+++ b/contrib/views/hive20/src/main/resources/ui/app/services/tez-view-info.js
@@ -20,7 +20,8 @@ import Ember from 'ember';
 
 export default Ember.Service.extend({
   tezViewURL: null,
-  tezApiURL: '/api/v1/views/TEZ',
+  // replace used to avoid slash duplication by proxy
+  tezApiURL: '/api/v1/views/TEZ'.replace(/^\/\//, '/'),
   tezURLPrefix: '/views/TEZ',
   tezDagPath: '?viewPath=/#/dag/',
   getTezViewInfo: function () {


Mime
View raw message