incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smoha...@apache.org
Subject svn commit: r1485075 - in /incubator/ambari/trunk: CHANGES.txt ambari-server/src/main/python/ambari-server.py
Date Wed, 22 May 2013 06:12:45 GMT
Author: smohanty
Date: Wed May 22 06:12:45 2013
New Revision: 1485075

URL: http://svn.apache.org/r1485075
Log:
AMBARI-2183. Postgres setup failed. (smohanty)

Modified:
    incubator/ambari/trunk/CHANGES.txt
    incubator/ambari/trunk/ambari-server/src/main/python/ambari-server.py

Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1485075&r1=1485074&r2=1485075&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed May 22 06:12:45 2013
@@ -873,6 +873,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-2183. Postgres setup failed. (smohanty)
+
  AMBARI-2182. Expose "active" attribute for Stack resource. (smohanty)
 
  AMBARI-2181. keys/pass.txt file is readable by everyone. (smohanty)

Modified: incubator/ambari/trunk/ambari-server/src/main/python/ambari-server.py
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-server/src/main/python/ambari-server.py?rev=1485075&r1=1485074&r2=1485075&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-server/src/main/python/ambari-server.py (original)
+++ incubator/ambari/trunk/ambari-server/src/main/python/ambari-server.py Wed May 22 06:12:45
2013
@@ -100,7 +100,7 @@ PID_DIR="/var/run/ambari-server"
 PID_NAME="ambari-server.pid"
 AMBARI_PROPERTIES_FILE="ambari.properties"
 
-SETUP_DB_CMD = ['su', 'postgres',
+SETUP_DB_CMD = ['su', '-', 'postgres',
         '--command=psql -f {0} -v username=\'"{1}"\' -v password="\'{2}\'"']
 UPGRADE_STACK_CMD = ['su', 'postgres',
         '--command=psql -f {0} -v stack_name="\'{1}\'"  -v stack_version="\'{2}\'"']



Mime
View raw message