You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ds...@apache.org on 2018/05/14 13:36:16 UTC

[ambari] branch trunk updated: [AMBARI-23835] Port is not cleared for Superset Database type if Mysql is selected than SQLLite is selected in Installer Wizard (dsen) (#1258)

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

dsen 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 e1f74d6  [AMBARI-23835] Port is not cleared for Superset Database type if Mysql is selected than SQLLite is selected in Installer Wizard (dsen) (#1258)
e1f74d6 is described below

commit e1f74d683a9fd56642c7faa9c3f6c3587617d839
Author: Dmitry Sen <ds...@apache.org>
AuthorDate: Mon May 14 16:36:13 2018 +0300

    [AMBARI-23835] Port is not cleared for Superset Database type if Mysql is selected than SQLLite is selected in Installer Wizard (dsen) (#1258)
---
 .../src/main/resources/stacks/HDP/2.6/services/stack_advisor.py         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
index 4b5b37a..b87a8a5 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
@@ -243,6 +243,8 @@ class HDP26StackAdvisor(HDP25StackAdvisor):
             putSupersetProperty("SUPERSET_DATABASE_PORT", "3306")
         elif superset_database_type == "postgresql":
             putSupersetProperty("SUPERSET_DATABASE_PORT", "5432")
+        elif superset_database_type == "sqlite":
+            putSupersetProperty("SUPERSET_DATABASE_PORT", "")
 
   def recommendYARNConfigurations(self, configurations, clusterData, services, hosts):
     super(HDP26StackAdvisor, self).recommendYARNConfigurations(configurations, clusterData, services, hosts)

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