ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject git commit: AMBARI-5625. ambari-server setup does not allow to specify existing Postgres db through command line option --database. (Myroslav Papirkovskyy via swagle)
Date Tue, 29 Apr 2014 21:38:11 GMT
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 <swagle@hortonworks.com>
Authored: Tue Apr 29 14:37:56 2014 -0700
Committer: Siddharth Wagle <swagle@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 " \


Mime
View raw message