5. Upgrade Oozie

  1. Execute the following command on the Oozie server and client machines:

    • For RHEL/CentOS:

       rpm -e --nopostun oozie $old_version_number 
      yum install oozie            

    • For SLES:

       rpm -e --nopostun oozie-$old_version_number 
      zypper update oozie-3.3.2.1.3.0.0
      zypper remove oozie
      zypper se -s oozie 

      You should see Oozie v3.3.2.1.3.0.0 in the output. Install Oozie v3.3.2.1.3.0.0:

      zypper install oozie-3.3.2.1.3.0.0

      [Important]Important

      When removing and installing packages, rename those files the /conf directory that have .rpmsave extension to original to retain the customized configs. Alternatively, you can also use the configuration files (under the /conf directory) you backed up before upgrading.

  2. Start Oozie.

     sudo su -l $OOZIE_USER -c "cd $OOZIE_LOG_DIR/log; /usr/lib/oozie/bin/oozie-start.sh" 

    where

    • $OOZIE_USER is the Oozie Service user. For example, oozie.

    • $OOZIE_LOG_DIR is the directory where Oozie log files are stored (for example: /var/log/oozie).

  3. Validate Oozie.

    oozie admin -$OOZIE_USER http://$fully.qualified.domain.name_for_Oozie_hostmachine:11000/oozie -status

    You should see the following output:

    System mode: NORMAL


loading table of contents...