I was trying to upgrade the ambari 1.7 from 2.4 and getting error. So I want to know is possible to upgrade the ambari 1.7 to latest version of ambari 2.4.
If your current Ambari version is 1.7 or below, you must upgrade the Ambari Server version to 2.0 before upgrading to version 2.4.
View solution in original post
Can you pass the error here.
what is the the current HDP version and the HDP version you are going to upgrade ? [If you are planing for hdp upgrade also]
Error was:- Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari Server database [y/n] (y)?
Upgrading database schema
Error output from schema upgrade command:
Exception in thread "main" java.lang.Exception: Unexpected error, upgrade failed
Caused by: java.lang.RuntimeException: java.lang.Exception
And yes also planning to upgrade the HDP.
You need to take care of Java if you are planing for Ambari and HDP upgrade.
currently using java java -version
OpenJDK Runtime Environment (rhel-220.127.116.11.el6_8-x86_64 u111-b01)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
You must also switch to jdk 7 before you upgrade and upgrade to HDP 2.2.9 before attempting to go to 2.4