Downgrade Instructions

If you have upgraded ODP from version 3.2.3.3-3 (with Ambari 2.7.8.2-3) to version 3.3.6.2-1 (with Ambari 2.7.8.2-1) and need to roll back to ODP 3.2.3.3-3 (with Ambari 2.7.8.2-3), follow the steps below.

Steps to Downgrade

In this case, the downgrade was tested right before the finalization.

Click Proceed with Downgrade and proceed further.

Pause the downgrade process before restoring backups.

Pause Downgrade Before Restoring Backups

Proceed with the Ambari downgrade.

Ambari Downgrade

  1. Fetch the current Ambari version.
Bash
Copy

Response:

Bash
Copy
  1. Stop Ambari Server and Agents.
Bash
Copy

Response:

Bash
Copy
Bash
Copy

Response:

Bash
Copy
  1. Restore the older Ambari packages.

Set up the old Ambari repositories.

Bash
Copy

As you are downgrading the Ambari server to version 2.7.8.2-301, restore the repository URLs.

For Ubuntu 20:

Bash
Copy
Bash
Copy

For RHEL 8/9:

Bash
Copy
Bash
Copy

Remove the previously installed Ambari packages.

For Ubuntu 20:

Bash
Copy

For RHEL 8/9:

Bash
Copy

Install the required packages for Ambari downgrade.

Bash
Copy

Reinstall Ambari Server to version 2.7.8.2-1 from 2.7.9.2-1.

Bash
Copy

Restore Ambari configurations:

Bash
Copy

Make sure that you do not restore the Ambari database.

Reset the Version

Reset the version using the below command.

Bash
Copy

Reset Java Version to 1.8

From ambari.properties, reset java.home to 1.8.

Bash
Copy

Host level

On the host level, set the node’s default Java version to 1.8.

Bash
Copy
Bash
Copy

Start Ambari Server and Agents

Ambari Server

Bash
Copy
Bash
Copy

Agent

Bash
Copy
Bash
Copy

Reset Configuration Version

  1. Reset the ODP stack configurations to the previous version (before the upgrade).
  1. After resetting the older configurations, resume the downgrade.

For example, for the HDFS configuration version:

  1. Reset the configuration version for all services.

Resume Downgrade

Restore Backups

Log in to the backend MySQL database and restore the backed-up SQL files.

Bash
Copy

Proceed with the remaining downgrade steps.

Known Limitations

Issue: HDFS NameNode failed to start with error:

2025-08-16 18:13:11,103 INFO util.ExitUtil (ExitUtil.java:terminate(241)) - Exiting with status 1: java.io.IOException: File system image contains an old layout version -65. An upgrade to version -66 is required.

Resolution:

  1. At restored hdfs namenode’s layoutVersion, set as -66
Bash
Copy

Response:

Bash
Copy
  1. Set layoutVersion -66 followed by restart the HDFS.
Bash
Copy

Retry the HDFS restart from Downgrade page, proceed further.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated