You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Myroslav Papirkovskyy (JIRA)" <ji...@apache.org> on 2014/04/10 17:44:16 UTC

[jira] [Created] (AMBARI-5427) Usability: Cleanup database connection checking during setup (when using postgres)

Myroslav Papirkovskyy created AMBARI-5427:
---------------------------------------------

             Summary: Usability: Cleanup database connection checking during setup (when using postgres)
                 Key: AMBARI-5427
                 URL: https://issues.apache.org/jira/browse/AMBARI-5427
             Project: Ambari
          Issue Type: Bug
          Components: controller
    Affects Versions: 1.6.0
            Reporter: Myroslav Papirkovskyy
            Assignee: Myroslav Papirkovskyy
             Fix For: 1.6.0


The current experience of "Attempt 1" is confusing to the user.
Should be changed to:
 output in success:

{code}
Enter advanced database configuration [y/n] (n)? 
Default properties detected. Using built-in database.
Checking PostgreSQL...
Configuring local database...
Connecting to local database...done.
Configuring PostgreSQL...
{code}

output in retries (note: before printing the "connection timed out...retrying (#)" it tests the connection)

{code}
Enter advanced database configuration [y/n] (n)? 
Default properties detected. Using built-in database.
Checking PostgreSQL...
Configuring local database...
Connecting to local database...connection timed out...retrying (1)
Connecting to local database...connection timed out...retrying (2)
Connecting to local database...unable to connect to database
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)