JaySenSharma created AMBARI-23352:
-------------------------------------

             Summary: During ambari upgrade, DB backup choice default option 
should be 'n' instead of 'y'
                 Key: AMBARI-23352
                 URL: https://issues.apache.org/jira/browse/AMBARI-23352
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk
            Reporter: JaySenSharma
            Assignee: JaySenSharma


When we run the "ambari-server upgrade" option then at the following point it 
asks if the user has already taken Database dump or not?  

{code}
[root@jnode1 ~]# ambari-server upgrade
.
.
INFO: Fixing database objects owner
Ambari Server configured for Embedded Postgres. Confirm you have made a backup 
of the Ambari Server database [y/n] (y)? 
{code}


There is a possibility that the user might mistakenly press ENTER (which means 
'y')  without actually collecting the Ambari DB backup.

So in order to avoid this risk the default option should be "n'  so that we can 
avoid ignorance and user will have to explicitly enter "y' to proceed (to 
confirm they collected Db dump already).

Expected value:
{code}
Ambari Server configured for Embedded Postgres. Confirm you have made a backup 
of the Ambari Server database [y/n] (n)? 
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to