Post-Upgrade Steps for Oozie
Complete the following steps after you upgrade Oozie with or without the MapR Installer.
About this task
Procedure
-
Add customized properties from the configuration files that you saved before
the upgrade to the files in the new Oozie
conf
directory:/opt/mapr/oozie/oozie-<version>/conf/.
For example, if you use a MySQL database with Oozie, make sure that the oozie-site.xml contains the correct properties for MySQL. -
If your Oozie installation is configured to use a MySQL or Oracle database and
you are upgrading to a new Oozie version, copy the JDBC driver jar file for
MySQL or Oracle to the following directory:
/opt/mapr/oozie/oozie-<oozie version>/libext
-
If it is present, remove the old warden.oozie.conf under the
/opt/mapr/conf/conf.d/
directory before running the configure.sh -R command:rm -rf /opt/mapr/conf/conf.d/warden.oozie.conf
-
Run
configure.sh -R:
/opt/mapr/server/configure.sh -R
-
Run the following command to upgrade the database schema:
# /opt/mapr/oozie/oozie-<version>/bin/ooziedb.sh upgrade -run
-
Restart the Oozie service:
# sudo -u mapr maprcli node services -name oozie -action restart -nodes <nodelist>
- Start any Oozie coordinators that you stopped before the upgrade.
- If needed, update the Oozie shared libraries as described in Updating the Oozie Shared Libraries.