ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rle...@apache.org
Subject [46/50] [abbrv] ambari git commit: AMBARI-21184. When trying to Add Hiveserver2 service on a node, we just get a pop-up dialog box, and then a spinning wheel. Unable to click "Confirm Add" (alexantonenko)
Date Thu, 08 Jun 2017 19:23:00 GMT
AMBARI-21184. When trying to Add Hiveserver2 service on a node, we just get a pop-up dialog
box, and then a spinning wheel. Unable to click "Confirm Add" (alexantonenko)


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

Branch: refs/heads/branch-feature-AMBARI-20859
Commit: 7e3641eba8ce974c7768a85f65b5910bd5ff55ca
Parents: 0b6d0dc
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Jun 8 17:19:00 2017 +0300
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Thu Jun 8 19:03:18 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/utils/config.js       | 2 +-
 ambari-web/test/utils/config_test.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7e3641eb/ambari-web/app/utils/config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/config.js b/ambari-web/app/utils/config.js
index 8e6e2fd..00cc2a3 100644
--- a/ambari-web/app/utils/config.js
+++ b/ambari-web/app/utils/config.js
@@ -1251,7 +1251,7 @@ App.config = Em.Object.create({
   getTempletonHiveHosts: function (value) {
     var pattern = /thrift:\/\/.+:\d+/,
       patternMatch = value.match(pattern);
-    return patternMatch ? patternMatch[0].split('\\,') : value;
+    return patternMatch ? patternMatch[0].split('\\,') : [];
   },
 
   /**

http://git-wip-us.apache.org/repos/asf/ambari/blob/7e3641eb/ambari-web/test/utils/config_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/utils/config_test.js b/ambari-web/test/utils/config_test.js
index 7ad8828..2c7baf9 100644
--- a/ambari-web/test/utils/config_test.js
+++ b/ambari-web/test/utils/config_test.js
@@ -1469,7 +1469,7 @@ describe('App.config', function() {
       },
       {
         value: 'hive.metastore.local=false',
-        result: 'hive.metastore.local=false',
+        result: [],
         message: 'no hosts list'
       }
     ];


Mime
View raw message