ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject ambari git commit: AMBARI-12948. Test DB connection for Oozie/Hive fails if the external DB host is not a registered host. (jaimin)
Date Mon, 31 Aug 2015 20:31:34 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 68a770a91 -> 115d93c67


AMBARI-12948. Test DB connection for Oozie/Hive fails if the external DB host is not a registered
host. (jaimin)


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

Branch: refs/heads/branch-2.1
Commit: 115d93c677ab8c69822b07d78cf0517b71f2eb54
Parents: 68a770a
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Mon Aug 31 13:30:05 2015 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Mon Aug 31 13:30:21 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/views/common/controls_view.js       | 4 ++--
 ambari-web/test/views/common/controls_view_test.js | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/115d93c6/ambari-web/app/views/common/controls_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/common/controls_view.js b/ambari-web/app/views/common/controls_view.js
index 92d49c8..999ee7d 100644
--- a/ambari-web/app/views/common/controls_view.js
+++ b/ambari-web/app/views/common/controls_view.js
@@ -1135,9 +1135,9 @@ App.CheckDBConnectionView = Ember.View.extend({
   /** @property {String} masterHostName - host name location of Master Component related
to Service **/
   masterHostName: function() {
     var serviceMasterMap = {
-      'OOZIE': 'oozie_hostname',
+      'OOZIE': 'oozieserver_host',
       'HDFS': 'hadoop_host',
-      'HIVE': 'hive_hostname',
+      'HIVE': 'hivemetastore_host',
       'KERBEROS': 'kdc_host',
       'RANGER': 'rangerserver_host'
     };

http://git-wip-us.apache.org/repos/asf/ambari/blob/115d93c6/ambari-web/test/views/common/controls_view_test.js
----------------------------------------------------------------------
diff --git a/ambari-web/test/views/common/controls_view_test.js b/ambari-web/test/views/common/controls_view_test.js
index 95a6727..c5fdad0 100644
--- a/ambari-web/test/views/common/controls_view_test.js
+++ b/ambari-web/test/views/common/controls_view_test.js
@@ -377,7 +377,7 @@ describe('App.CheckDBConnectionView', function () {
       ],
       categoryConfigsAll = [
         Em.Object.create({
-          name: 'oozie_hostname',
+          name: 'oozieserver_host',
           value: 'h0'
         }),
         Em.Object.create({
@@ -385,7 +385,7 @@ describe('App.CheckDBConnectionView', function () {
           value: 'h1'
         }),
         Em.Object.create({
-          name: 'hive_hostname',
+          name: 'hivemetastore_host',
           value: 'h2'
         }),
         Em.Object.create({


Mime
View raw message