ODP Stack Upgrade

ODP Stack Rolling/Express Upgrade

Consider the versions shown in the screenshot as a reference. During the upgrade, you can see the target version you’re upgrading to.

  1. Run Service Checks for Components
    1. Ensure that you run service checks for all installed stack services by navigating to Actions > Service Check on the Ambari UI.

For example:

Similarly, run the service check for the services. Ensure that all run successfully.

For example, the success status must be shown as follows.

  1. Disable Service Auto-Start
  2. Create and Update VDF File
  1. Create and Update VDF File. Create a local VDF file with the content in odp_32353_vdf.xml , odp_32352_vdf.xml
  2. Navigate to Ambari Register Version
  1. Upload the VDF file to register the upgraded ODP version.
  1. Install ODP Packages

Steps

  1. On the Ambari UI, navigate to the Admin -> Versions page and click Upgrade.
  1. Upon selecting the Upgrade option:
    1. The Rolling and Express options appear on the screen.
    2. Select Rolling/Express and click Proceed.

Finalize Upgrade

You can see the two options post successful upgrade.

  1. Finalize Later—Choosing this option preserves the ability to downgrade or roll back to the previous version.
  2. Finalize—Once selected, version 3.2.3.5-2 becomes permanent, and rollback is no longer possible.

Consider the versions shown in the screenshot as a reference. During the upgrade, you can see the target version you’re upgrading to.

Navigate to the Ambari UI Home page and perform the Start All services from Actions.

If you are upgrading from ODP 3.2.3.3-x or lower versions and using Oracle as the backend DB, you may encounter the following issue.

Error 1

2026-01-29 12:08:45,018 [I] Patch 067-create-gds-tables.sql is being applied..

2026-01-29 12:08:45,018 [JISQL] /usr/lib/jvm/java-1.8.0-openjdk/bin/java -Djava.security.egd=file:///dev/urandom -cp /usr/odp/3.2.3.5-2/ranger-admin/ews/lib/ojdbc.jar:/usr/odp/3.2.3.5-2/ranger-admin/jisql/lib/* org.apache.util.sql.Jisql -driver oraclethin -cstring jdbc:oracle:thin:@//clnode02.acceldata.ce:1521/ORCLPDB1 -u 'ranger' -p ' ' -noheader -trim -input /usr/odp/3.2.3.5-2/ranger-admin/db/oracle/patches/067-create-gds-tables.sql -c ;

SQLException : SQL state: 42000 java.sql.SQLSyntaxErrorException: ORA-00901: invalid CREATE command ORA-06512: at line 18 ErrorCode: 901 SQLException : SQL state: 42000 java.sql.SQLSyntaxErrorException: ORA-00901: invalid CREATE command

You can follow the workaround below to fix the issue.

Replace the “/usr/odp/3.2.3.3-2/ranger-admin/db/oracle/patches/067-create-gds-tables.sql” with the below content.

Bash
Copy

Error 2

Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.7.12.v20230209-e5c4074ef3): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected

And similarly facing issues for files - 10060, 10061, may experincing for the same till 10070

Workaround:

  1. Log in to the Oracle backend DB

For example:

Bash
Copy
  1. Run the below from the Oracle's SQLPlus terminal.
Bash
Copy

and then continue with the upgrade process.

Verify the Upgrade History

Mpacks Restore

Perform the following steps to restore Mpacks.

Perform the following steps to restore Mpacks.

  1. Install Mpacks on the Ambari Server node.
Squirrel
Copy
  1. Install the services from Ambari.
  2. Stop the Mpack services from ambari UI.
  3. Restore the config at mysql DB.

Now restore the configuration backups for the mpacks that were taken during the upgrade prerequisites phase. For details, see upgrade-prerequisites.

Squirrel
Copy

Restore Airflow Config

Run the following script.

Squirrel
Copy

Response:

Squirrel
Copy

Restore Ozone Configs

Run the following script.

Squirrel
Copy

Response:

Squirrel
Copy

Restore Impala Configs

Run the following script.

Squirrel
Copy

Response:

Squirrel
Copy

Restore Kudu Configs

Run the following script.

Squirrel
Copy

Response:

Squirrel
Copy

Restore Spark3 Configs

Run the following script.

Squirrel
Copy

Response:

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