It is posible to downgrade the ambari from 2.4 to 2.2 (From HDP 2.5 to HDP 2.4) only ambari?
What I try so far without suceed:
-Remove ambari completely, https://community.hortonworks.com/questions/1110/how-to-completely-remove-uninstall-ambari-and-hdp.h...
-Start and setup the ambari 2.2
-Stop the ambari
-Restore the db backup
-Run command ambari-server upgrade
-Even Run succesfully ambari-server check-database
Using python /usr/bin/python Checking database No erros were found. Ambari Server 'check-database' completed successfully. <- by the way there is a typo error on the output
-Try to start the ambari server and it show the following error:
28 Nov 2016 13:48:55,832 WARN [main] DatabaseChecker:184 - Current database store version is not compatible with current server version, serverVersion=188.8.131.52, schemaVersion=2.4.1 28 Nov 2016 13:48:55,833 ERROR [main] AmbariServer:844 - Failed to run the Ambari Server org.apache.ambari.server.AmbariException: Current database store version is not compatible with current server version, serverVersion=184.108.40.206, schemaVersion=2.4.1 at org.apache.ambari.server.controller.utilities.DatabaseChecker.checkDBVersion(DatabaseChecker.java:185) at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:835)
You my ask why I'm doing it, since I'm trying to install a service that works on the ambari 220.127.116.11 stack but on on the 18.104.22.168, probably ajusting the ecotool also may be a workaround but i don't have a what's new of the changes of how is the stack.
Try going to the Ambari /var/lib/ambari-server I don't remember exactly path and locate 22.214.171.124 schema for Ambari database, apply that and try your steps again. Alternatively, remove Ambari database completely and reinstall ambari-server package.