Created 09-13-2016 08:06 AM
HI,
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.
Created 09-13-2016 08:11 AM
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.
Created 09-13-2016 08:11 AM
Can you pass the error here.
Created 09-13-2016 08:14 AM
what is the the current HDP version and the HDP version you are going to upgrade ? [If you are planing for hdp upgrade also]
Created 09-13-2016 09:53 AM
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
at org.apache.ambari.server.upgrade.SchemaUpgradeHelper.main(SchemaUpgradeHelper.java:370)
Caused by: java.lang.RuntimeException: java.lang.Exception
at org.apache.ambari.server.state.stack.OsFamily.init(OsFamily.java:92)
And yes also planning to upgrade the HDP.
Created 09-13-2016 10:26 AM
You need to take care of Java if you are planing for Ambari and HDP upgrade.
Created 09-13-2016 10:48 AM
currently using java java -version
"1.7.0_111"
OpenJDK Runtime Environment (rhel-2.6.7.2.el6_8-x86_64 u111-b01)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
Created 09-13-2016 08:11 AM
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.
Created 09-13-2016 08:58 AM
You must also switch to jdk 7 before you upgrade and upgrade to HDP 2.2.9 before attempting to go to 2.4