Execute the following command on the Oozie server and client machines:
For RHEL/CentOS:
yum upgrade oozie* oozie-client*
For SLES:
zypper remove oozie zypper install oozie oozie-client
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.
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
).
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