This is an automated email from the ASF dual-hosted git repository.

mgergely pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fff9b2b  AMBARI-23386 HSI ADDENDUM Jdbc URL should handle HA mode 
(mgergely)
fff9b2b is described below

commit fff9b2b2dc801a24135ba8ee2bbf5a988949aba6
Author: Miklos Gergely <mgerg...@hortonworks.com>
AuthorDate: Fri Apr 13 09:05:03 2018 +0200

    AMBARI-23386 HSI ADDENDUM Jdbc URL should handle HA mode (mgergely)
---
 ambari-web/app/controllers/main/service/info/summary.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-web/app/controllers/main/service/info/summary.js 
b/ambari-web/app/controllers/main/service/info/summary.js
index 89bb6ae..1f7e4e4 100644
--- a/ambari-web/app/controllers/main/service/info/summary.js
+++ b/ambari-web/app/controllers/main/service/info/summary.js
@@ -262,7 +262,7 @@ App.MainServiceInfoSummaryController = 
Em.Controller.extend({
           hiveSiteDynamicDiscovery = 
_config.properties['hive.server2.support.dynamic.service.discovery'] || 
hiveSiteDynamicDiscovery;
           hiveSiteZkQuorom = _config.properties['hive.zookeeper.quorum'] || 
hiveSiteZkQuorom;
           hiveSiteZkNameSpace = 
_config.properties['hive.server2.zookeeper.namespace'] || hiveSiteZkNameSpace;
-          if 
(App.HostComponent.find().filterProperty('componentName','HIVE_SERVER_INTERACTIVE').length
 == 2) {
+          if 
(App.HostComponent.find().filterProperty('componentName','HIVE_SERVER_INTERACTIVE').length
 > 1) {
             hiveSiteServiceDiscorveryMode = 'zooKeeperHA';
             hiveSiteZkNameSpace = 
_config.properties['hive.server2.active.passive.ha.registry.namespace'];
           }

-- 
To stop receiving notification emails like this one, please contact
mgerg...@apache.org.

Reply via email to