ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Edwards (JIRA)" <>
Subject [jira] [Created] (AMBARI-12480) Ambari Shouldn't Start Postgres Immediately during Setup
Date Tue, 21 Jul 2015 16:25:04 GMT
Scott Edwards created AMBARI-12480:

             Summary: Ambari Shouldn't Start Postgres Immediately during Setup
                 Key: AMBARI-12480
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.0.1
            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:
        echo -e "Run postgresql initdb"
        initdb_res=`/sbin/service postgresql initdb`
        if [ "0" == "$?" ]; then
          echo -e "${initdb_res}"
        echo -e "Run postgresql start"
        /sbin/service postgresql start
        echo -e "Setup ambari-server"
        $PYTHON /usr/sbin/ $@

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

This message was sent by Atlassian JIRA

View raw message