Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Please help to downgrade Ambari 2.2 to 2.1 version. (Working on a VMware, Linux).

avatar
New Member
 
1 ACCEPTED SOLUTION

avatar
New Member

I Prateek,

I have successfully done a downgrade from 2.4 to 2,3, but to be able to do this I had to had a complete backup of the ambari database from before the upgrade. I suspect the process would be similar.

the process was:

  • stop all ambari daemons
  • remove all ambari packages
  • install the old version ambari packages
  • delete the old ambari database and load from the backup
  • start ambari server, check if its working
  • start ambari agents

If you dont have a backup of the 2.1 database then I doubt you can safely do the downgrade, there are a number of upgrade sql scripts that run when you upgrade but there are no equivalent scripts to go backwards.

View solution in original post

2 REPLIES 2

avatar
New Member

I Prateek,

I have successfully done a downgrade from 2.4 to 2,3, but to be able to do this I had to had a complete backup of the ambari database from before the upgrade. I suspect the process would be similar.

the process was:

  • stop all ambari daemons
  • remove all ambari packages
  • install the old version ambari packages
  • delete the old ambari database and load from the backup
  • start ambari server, check if its working
  • start ambari agents

If you dont have a backup of the 2.1 database then I doubt you can safely do the downgrade, there are a number of upgrade sql scripts that run when you upgrade but there are no equivalent scripts to go backwards.

avatar

Hi @Prateek Gupta.

This question has been answered previously here:

https://community.hortonworks.com/questions/13782/downgrade-of-ambari-22-to-21.html

Hope that helps!