Updated Branches: refs/heads/trunk d2ebacc09 -> e59e85a61
AMBARI-3933. ctrl^c during ambari-server setup "Initializing..." leaves postgres in bad state (Dmytro Shkvyra via dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/e59e85a6 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/e59e85a6 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/e59e85a6 Branch: refs/heads/trunk Commit: e59e85a61f497656630401e1b2b935d2bb51bfed Parents: d2ebacc Author: Lisnichenko Dmitro <[email protected]> Authored: Fri Nov 29 19:06:17 2013 +0200 Committer: Lisnichenko Dmitro <[email protected]> Committed: Fri Nov 29 19:06:17 2013 +0200 ---------------------------------------------------------------------- ambari-server/sbin/ambari-server | 4 ---- 1 file changed, 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/e59e85a6/ambari-server/sbin/ambari-server ---------------------------------------------------------------------- diff --git a/ambari-server/sbin/ambari-server b/ambari-server/sbin/ambari-server index 73b914a..41ca734 100644 --- a/ambari-server/sbin/ambari-server +++ b/ambari-server/sbin/ambari-server @@ -105,10 +105,6 @@ case "$1" in $PYTHON /usr/sbin/ambari-server.py $@ ;; setup) - echo -e "Initializing..." - initdb_res=`/sbin/service postgresql initdb 2>&1 > /dev/null` - initdb_res=`/sbin/service postgresql start 2>&1 > /dev/null` - initdb_res=`/sbin/service postgresql stop 2>&1 > /dev/null` echo -e "Setup ambari-server" $PYTHON /usr/sbin/ambari-server.py $@ ;;
