Life is not perfect! Every day we have to face failures and same is with Oozie running in production. Jobs fail and we need to rerun them.
Oozie provides a functionality to restart the jobs from intermediate states to save time:
To rerun a Coordinator, we need to tell about the action which has failed or the date for which we need to rerun
To rerun a Bundle, we need to tell about Coordinator which has failed
To rerun a Workflow that has failed, we have two nodes:
oozie.wf.rerun.skip.nodes
oozie.wf.rerun.failnodes
oozie.wf.rerun.skip.nodes
is the list of nodes to skip, while oozie.wf.rerun.failnodes
is a Boolean value that tells if Oozie should run only the failed nodes.
Here's an example of Workflow rerun:
oozie job -rerun 0000003-150921003038748-oozie-oozi-W -Doozie.wf.rerun.failnodes=true
In the preceding example, we passed on the ID of Workflow to rerun.