Step 2: Before You Upgrade

About this task

Before upgrading the Oozie software, you may need to complete the following steps:

Procedure

  1. Stop any jobs or coordinators that are in a RUNNING or SUSPENDED state.
  2. Stop the Oozie service:
    # sudo -u mapr maprcli node services -name oozie -action stop -nodes <node names>
  3. Back up Oozie configuration files and save them in a temporary directory. If you have changed configuration properties on your current installation of Oozie, you can apply those changes to the updated version after you upgrade the software. Configuration properties are located in /opt/mapr/oozie/oozie-<version>/conf/.
  4. For upgrades to Oozie 4.1-1601 or below: Remove org.apache.oozie.action.hadoop.EmailActionExecutor from oozie.service.ActionService.executor.ext.classes in oozie-site.xml located in /opt/mapr/oozie/oozie-<version>/conf/oozie-site.xml.
  5. Remove the old share libraries and examples from the following directories:
    maprfs:///oozie/share
    maprfs:///user/${user.name}/examples