You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by mg...@apache.org on 2018/04/10 17:22:46 UTC

[ambari] branch trunk updated: AMBARI-23386 HSI ADDENDUM Jdbc URL should handle HA mode (mgergely)

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 82c9e3f  AMBARI-23386 HSI ADDENDUM Jdbc URL should handle HA mode (mgergely)
82c9e3f is described below

commit 82c9e3f30e3e3846d874a8c310cb112caeda58ce
Author: Miklos Gergely <mg...@hortonworks.com>
AuthorDate: Tue Apr 10 14:40:52 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 ec76417..89bb6ae 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 (_config.properties['hive.server2.active.passive.ha.enable'] === 'true') {
+          if (App.HostComponent.find().filterProperty('componentName','HIVE_SERVER_INTERACTIVE').length == 2) {
             hiveSiteServiceDiscorveryMode = 'zooKeeperHA';
             hiveSiteZkNameSpace = _config.properties['hive.server2.active.passive.ha.registry.namespace'];
           }

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