Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Ambari upgrade .


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.



@Ashnee Sharma

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]

@Sagar Shimpi

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(

Caused by: java.lang.RuntimeException: java.lang.Exception

at org.apache.ambari.server.state.stack.OsFamily.init(

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- 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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.