Upgrade each Oozie server one at a time.
On each Oozie server, shut down the server, switch to the new version, and start the server:
/usr/hdp/current/oozie-server/bin/oozied.sh stop
hdp-select set oozie-server 2.2.4.2-2
/usr/hdp/current/oozie-server/bin/oozie-start.s
hTo validate the upgrade process, check Oozie service status.
oozie admin -oozie http://<OOZIE_SERVER_HOST>:11000/oozie -status
For example:
# oozie admin -oozie http://node-1:11000/oozie -status System mode: NORMAL