You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2012/05/20 22:44:40 UTC
[jira] [Created] (AMBARI-354) hmc rpm on install must backup the
database
Suresh Srinivas created AMBARI-354:
--------------------------------------
Summary: hmc rpm on install must backup the database
Key: AMBARI-354
URL: https://issues.apache.org/jira/browse/AMBARI-354
Project: Ambari
Issue Type: Bug
Affects Versions: ambari-186
Reporter: Suresh Srinivas
HMC rpm during install must backup the database lingering from previous installs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMBARI-354) hmc rpm on install must backup the
database
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMBARI-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Srinivas updated AMBARI-354:
-----------------------------------
Attachment: AMBARI-354.txt
Attached patch modifies rpm spec - during rpm install, in pre-install step, if /var/db/hmc/data/data.db from previous isntallation exists, it is saved to /var/db/hmc/data/data.db.<DDMMYY-HHMM>.
> hmc rpm on install must backup the database
> -------------------------------------------
>
> Key: AMBARI-354
> URL: https://issues.apache.org/jira/browse/AMBARI-354
> Project: Ambari
> Issue Type: Bug
> Affects Versions: ambari-186
> Reporter: Suresh Srinivas
> Attachments: AMBARI-354.txt
>
>
> HMC rpm during install must backup the database lingering from previous installs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMBARI-354) hmc rpm on install must backup the
database
Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMBARI-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kumar Vavilapalli updated AMBARI-354:
-------------------------------------------
Fix Version/s: (was: ambari-186)
0.9.0
> hmc rpm on install must backup the database
> -------------------------------------------
>
> Key: AMBARI-354
> URL: https://issues.apache.org/jira/browse/AMBARI-354
> Project: Ambari
> Issue Type: Bug
> Affects Versions: ambari-186
> Reporter: Suresh Srinivas
> Fix For: 0.9.0
>
> Attachments: AMBARI-354.txt
>
>
> HMC rpm during install must backup the database lingering from previous installs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMBARI-354) hmc rpm on install must backup the
database
Posted by "Suresh Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMBARI-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279858#comment-13279858 ]
Suresh Srinivas commented on AMBARI-354:
----------------------------------------
Use cases to consider:
*Use case 1 - User uninstalls rpm accidentally and re-installs it again.*
During uninstall, the db file is backed up. The existing data directory is removed. A documented procedure will tell the user how to restore the db file post re-install to go back to the previous state.
*Use case 2 - User uninstalls rpm to cleanup the install and re-install it back.*
During uninstall, the db file is backed up. The existing data directory is removed. During a re-install a new db file is created. User can go on to configure the cluster (on the masterd).
*Use case 3 - User upgrades to new release. Old rpm is uninstalled.*
New release *must* install the files in a new directory. This way uninstall of old rpm does not delete the data directory corresponding to the new release install.
> hmc rpm on install must backup the database
> -------------------------------------------
>
> Key: AMBARI-354
> URL: https://issues.apache.org/jira/browse/AMBARI-354
> Project: Ambari
> Issue Type: Bug
> Affects Versions: ambari-186
> Reporter: Suresh Srinivas
> Attachments: AMBARI-354.txt
>
>
> HMC rpm during install must backup the database lingering from previous installs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMBARI-354) hmc rpm on install must backup the
database
Posted by "Vikram Dixit K (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMBARI-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vikram Dixit K resolved AMBARI-354.
-----------------------------------
Resolution: Fixed
Fix Version/s: ambari-186
Committed. Thanks!
> hmc rpm on install must backup the database
> -------------------------------------------
>
> Key: AMBARI-354
> URL: https://issues.apache.org/jira/browse/AMBARI-354
> Project: Ambari
> Issue Type: Bug
> Affects Versions: ambari-186
> Reporter: Suresh Srinivas
> Fix For: ambari-186
>
> Attachments: AMBARI-354.txt
>
>
> HMC rpm during install must backup the database lingering from previous installs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AMBARI-354) hmc rpm on install must backup the
database
Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMBARI-354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vinod Kumar Vavilapalli updated AMBARI-354:
-------------------------------------------
Affects Version/s: (was: ambari-186)
0.9.0
> hmc rpm on install must backup the database
> -------------------------------------------
>
> Key: AMBARI-354
> URL: https://issues.apache.org/jira/browse/AMBARI-354
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Suresh Srinivas
> Fix For: 0.9.0
>
> Attachments: AMBARI-354.txt
>
>
> HMC rpm during install must backup the database lingering from previous installs.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira