[
https://issues.apache.org/jira/browse/AMBARI-23352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16416249#comment-16416249
]
Hudson commented on AMBARI-23352:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #8922 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/8922/])
AMBARI-23352. During ambari upgrade, DB backup choice default option
(6454655+adoroszlai:
[https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=147b36a16370df8ef3a73656df6ef06470c2b591])
* (edit) ambari-server/src/main/python/ambari_server/serverUpgrade.py
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> 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)