Search code examples
workflowoozie

Stop Oozie workflow execution


Yesterday I kicked off an oozie workflow. It started two jobs that stalled all day. I killed them this morning, having made a change that I now want to test. After killing the two jobs it's like the workflow became unstuck and is now proceeding. I would like to kill the workflow so it doesn't keep starting new jobs to replace the ones I kill. How can I do that in the oozie command line?


Solution

  • You can view your running jobs with:

    oozie jobs
    

    or if it's a coordinator, not a workflow:

    oozie jobs -jobtype coordinator
    

    And get the Job ID from there, then do:

    oozie job -kill [id]
    

    Here's the command line tool reference page: http://incubator.apache.org/oozie/docs/3.1.3/docs/DG_CommandLineTool.html