Support Questions

Find answers, ask questions, and share your expertise

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

avatar
New Contributor
 
1 ACCEPTED SOLUTION

avatar
Contributor

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
Contributor

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!