Upgrading Oozie

Follow these instructions to upgrade Oozie to CDH 5 from RPM or Debian Packages.

Upgrading Oozie from CDH 4 to CDH 5

To upgrade Oozie from CDH 4 to CDH 5, back up the configuration files and database, uninstall the CDH 4 version and then install and configure the CDH 5 version. Proceed as follows.

Step 1: Remove Oozie

  1. Back up the Oozie configuration files in /etc/oozie and the Oozie database. For convenience you may want to save Oozie configuration files in your home directory; you will need them after installing the new version of Oozie.
  2. Stop the Oozie Server.
    To stop the Oozie Server:
    sudo service oozie stop
  3. Uninstall Oozie.

    To uninstall Oozie, run the appropriate command on each host:

    • On RHEL-compatible systems:
      $ sudo yum remove oozie 
      $ sudo yum remove oozie-client 
    • On SLES systems:
      $ sudo zypper remove  oozie
      $ sudo zypper remove oozie-client 
    • On Ubuntu or Debian systems:
      sudo apt-get remove oozie 
      sudo apt-get remove oozie-client 

Step 2: Install Oozie

Follow the procedure under Installing Oozie and then proceed to Configuring Oozie after Upgrading from CDH 4. For packaging information, see Oozie Packaging.

Upgrading Oozie from an Earlier CDH 5 Release

The steps that follow assume you are upgrading Oozie as part of an overall upgrade to the latest CDH 5 release and have already performed the steps under Upgrading from an Earlier CDH 5 Release to the Latest Release.

To upgrade Oozie to the latest CDH 5 release, proceed as follows.

Step 1: Back Up the Configuration

Back up the Oozie configuration files in /etc/oozie and the Oozie database.

For convenience you may want to save Oozie configuration files in your home directory; you will need them after installing the new version of Oozie.

Step 2: Stop the Oozie Server.

To stop the Oozie Server:

sudo service oozie stop

Step 3: Install Oozie

Follow the procedure under Installing Oozie and then proceed to Configuring Oozie after Upgrading from an Earlier CDH 5 Release.