You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2014/04/29 23:38:11 UTC

git commit: AMBARI-5625. ambari-server setup does not allow to specify existing Postgres db through command line option --database. (Myroslav Papirkovskyy via swagle)

Repository: ambari
Updated Branches:
  refs/heads/trunk 827700329 -> 7d3eb698d


AMBARI-5625. ambari-server setup does not allow to specify existing Postgres db through command line option --database. (Myroslav Papirkovskyy via swagle)


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

Branch: refs/heads/trunk
Commit: 7d3eb698d9e966c79121e97a841365e413f4b42b
Parents: 8277003
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Tue Apr 29 14:37:56 2014 -0700
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Tue Apr 29 14:37:56 2014 -0700

----------------------------------------------------------------------
 ambari-server/src/main/python/ambari-server.py | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d3eb698/ambari-server/src/main/python/ambari-server.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/python/ambari-server.py b/ambari-server/src/main/python/ambari-server.py
index 4fa8e4e..25ea75c 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -4120,10 +4120,6 @@ def main():
       parser.print_help()
       parser.error("Incorrect database port " + options.database_port)
 
-  if options.dbms is not None and options.dbms == "postgres":
-    print "WARNING: HostName for postgres server " + options.database_host + \
-     " will be ignored: using localhost."
-    options.database_host = "localhost"
 
   if options.sid_or_sname.lower() not in ["sid", "sname"]:
     print "WARNING: Valid values for sid_or_sname are 'sid' or 'sname'. Use 'sid' if the db identifier type is " \