Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA846185B3 for ; Tue, 21 Jul 2015 23:32:04 +0000 (UTC) Received: (qmail 87709 invoked by uid 500); 21 Jul 2015 23:32:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 87667 invoked by uid 500); 21 Jul 2015 23:32:04 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 87652 invoked by uid 99); 21 Jul 2015 23:32:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jul 2015 23:32:04 +0000 Date: Tue, 21 Jul 2015 23:32:04 +0000 (UTC) From: "Scott Edwards (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-12480) Ambari Setup shouldn't start PostgreSQL immediately MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-12480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Edwards updated AMBARI-12480: ----------------------------------- Affects Version/s: (was: 2.0.1) 1.2.0 > Ambari Setup shouldn't start PostgreSQL immediately > --------------------------------------------------- > > Key: AMBARI-12480 > URL: https://issues.apache.org/jira/browse/AMBARI-12480 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 1.2.0 > Reporter: Scott Edwards > > Ambari allows possibilities to configure with other databases other than the default installed PostgreSQL, but the default Ambari-Server Setup will start the local Ambari installed PostgreSQL before it even begins Setup. > In the init script /usr/sbin/ambari-server: > setup) > echo -e "Run postgresql initdb" > initdb_res=`/sbin/service postgresql initdb` > if [ "0" == "$?" ]; then > echo -e "${initdb_res}" > fi > echo -e "Run postgresql start" > /sbin/service postgresql start > echo -e "Setup ambari-server" > $PYTHON /usr/sbin/ambari-server.py $@ > ;; > I recommend placing a flag on the Ambari install process to allow you to choose installing a local copy of PostgreSQL or decline and continue install without it. > During setup) PostgreSQL shouldn't start unless Ambari did install a local copy of Postgres, as selected during install. Otherwise, you should have options of specifying database connection information. -- This message was sent by Atlassian JIRA (v6.3.4#6332)