Post-Upgrade Steps for Oozie

Complete the following steps after you upgrade Oozie with or without the MapR Installer.

About this task

Procedure

  1. 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.
  2. 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
  3. 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
  4. Run configure.sh -R:
    /opt/mapr/server/configure.sh -R
  5. Run the following command to upgrade the database schema:
    # /opt/mapr/oozie/oozie-<version>/bin/ooziedb.sh upgrade -run
  6. Restart the Oozie service:
    # sudo -u mapr maprcli node services -name oozie -action restart -nodes <nodelist>
  7. Start any Oozie coordinators that you stopped before the upgrade.
  8. If needed, update the Oozie shared libraries as described in Updating the Oozie Shared Libraries.