Search code examples
hadoopoozieoozie-coordinator

Oozie coordinator action rerun from fail nodes


I am trying to rerun an oozie co-ordinator action using below command.

oozie job -rerun <co-ordinator id> -action <action id>
-Doozie.wf.rerun.fail.nodes=true

But it is executing the action from the beginning instead of executing it from the point of failed node. Coordinator is neglecting 'oozie.wf.rerun.fail.nodes=true' option. Do I miss to provide some options?


Solution

  • For Oozie Coordinator rerun,

    Use -failed flag which re-runs the failed workflow actions of the coordinator actions that are passed in -action.

    oozie job -rerun <co-ordinator id> -failed -action <action id>
    

    The property -Doozie.wf.rerun.failnodes=true is used for rerunning workflows.