Repository: ambari Updated Branches: refs/heads/branch-2.1 100488455 -> 443da928a
AMBARI-14091. Postgres DB Test connection for Ranger DBA user does not work. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/443da928 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/443da928 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/443da928 Branch: refs/heads/branch-2.1 Commit: 443da928a57629afdf24c75acb80b34f398b6592 Parents: 1004884 Author: Jaimin Jetly <jai...@hortonworks.com> Authored: Thu Nov 26 20:21:41 2015 -0800 Committer: Jaimin Jetly <jai...@hortonworks.com> Committed: Thu Nov 26 20:22:02 2015 -0800 ---------------------------------------------------------------------- .../src/main/resources/stacks/HDP/2.3/services/stack_advisor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/443da928/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py index 9fb9e24..419fb3a 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py +++ b/ambari-server/src/main/resources/stacks/HDP/2.3/services/stack_advisor.py @@ -442,7 +442,7 @@ class HDP23StackAdvisor(HDP22StackAdvisor): ranger_db_privelege_url_dict = { 'MYSQL': {'ranger_privelege_user_jdbc_url': 'jdbc:mysql://' + rangerDbHost}, 'ORACLE': {'ranger_privelege_user_jdbc_url': 'jdbc:oracle:thin:@//' + rangerDbHost + ':1521'}, - 'POSTGRES': {'ranger_privelege_user_jdbc_url': 'jdbc:postgresql://' + rangerDbHost + ':5432'}, + 'POSTGRES': {'ranger_privelege_user_jdbc_url': 'jdbc:postgresql://' + rangerDbHost + ':5432/postgres'}, 'MSSQL': {'ranger_privelege_user_jdbc_url': 'jdbc:sqlserver://' + rangerDbHost + ';'}, 'SQLA': {'ranger_privelege_user_jdbc_url': 'jdbc:sqlanywhere:host=' + rangerDbHost + ';'} }