ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stoa...@apache.org
Subject ambari git commit: AMBARI-19278. Typo in the PostgreSQL database name for druid service. (Slim Bouguerra via stoader)
Date Thu, 22 Dec 2016 17:29:03 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 0dd6356a6 -> 532673b04


AMBARI-19278. Typo in the PostgreSQL database name for druid service. (Slim Bouguerra via
stoader)


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

Branch: refs/heads/branch-2.5
Commit: 532673b04e030bd09401a7097d1e6a9ba2165fd2
Parents: 0dd6356
Author: Slim Bouguerra <sbouguerra@hortonworks.com>
Authored: Thu Dec 22 17:37:20 2016 +0100
Committer: Toader, Sebastian <stoader@hortonworks.com>
Committed: Thu Dec 22 18:28:47 2016 +0100

----------------------------------------------------------------------
 .../common-services/DRUID/0.9.2/configuration/druid-common.xml   | 4 ++--
 .../src/main/resources/stacks/HDP/2.6/services/stack_advisor.py  | 4 ++--
 .../src/test/python/stacks/2.6/common/test_stack_advisor.py      | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/532673b0/ambari-server/src/main/resources/common-services/DRUID/0.9.2/configuration/druid-common.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/configuration/druid-common.xml
b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/configuration/druid-common.xml
index 39ede45..0ded5d6 100644
--- a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/configuration/druid-common.xml
+++ b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/configuration/druid-common.xml
@@ -154,8 +154,8 @@
           <label>DERBY</label>
         </entry>
         <entry>
-          <value>postgres</value>
-          <label>POSTGRES</label>
+          <value>postgresql</value>
+          <label>POSTGRESQL</label>
         </entry>
       </entries>
     </value-attributes>

http://git-wip-us.apache.org/repos/asf/ambari/blob/532673b0/ambari-server/src/main/resources/stacks/HDP/2.6/services/stack_advisor.py
----------------------------------------------------------------------
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 ee56899..c9c590d 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
@@ -84,7 +84,7 @@ class HDP26StackAdvisor(HDP25StackAdvisor):
           metadata_storage_port = "3306"
           extensions_load_list = self.addToList(extensions_load_list, mysql_module_name)
 
-      if database_type == 'postgres':
+      if database_type == 'postgresql':
           extensions_load_list = self.addToList(extensions_load_list, postgres_module_name)
           metadata_storage_port = "5432"
 
@@ -127,7 +127,7 @@ class HDP26StackAdvisor(HDP25StackAdvisor):
       driverDict = {
           'mysql': 'jdbc:mysql://{0}:{2}/{1}?createDatabaseIfNotExist=true',
           'derby': 'jdbc:derby://{0}:{2}/{1};create=true',
-          'postgres': 'jdbc:postgresql://{0}:{2}/{1}'
+          'postgresql': 'jdbc:postgresql://{0}:{2}/{1}'
       }
       return driverDict.get(database_type.lower())
 

http://git-wip-us.apache.org/repos/asf/ambari/blob/532673b0/ambari-server/src/test/python/stacks/2.6/common/test_stack_advisor.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/test/python/stacks/2.6/common/test_stack_advisor.py b/ambari-server/src/test/python/stacks/2.6/common/test_stack_advisor.py
index c06bebb..de0b00f 100644
--- a/ambari-server/src/test/python/stacks/2.6/common/test_stack_advisor.py
+++ b/ambari-server/src/test/python/stacks/2.6/common/test_stack_advisor.py
@@ -279,7 +279,7 @@ class TestHDP26StackAdvisor(TestCase):
           "properties": {
             "database_name": "druid",
             "metastore_hostname": "c6401.ambari.apache.org",
-            "druid.metadata.storage.type": "postgres",
+            "druid.metadata.storage.type": "postgresql",
             "druid.extensions.loadList": "[\"mysql-metadata-storage\"]",
             "druid.extensions.pullList": "[]"
           }


Mime
View raw message