I am using the MR action in oozie. And want to use the suspend/resume functionality provided by oozie on MR.
The problem - However, when we call 'suspend' on Oozie that doesn't kill the hadoop job instead it only updates the oozie state, while the hadoop job continues to run to completion. I want the hadoop job to be killed immediately when the oozie workflow is suspended. Guess that's not possible right ?
So, I figured I can kill the oozie workflow and re-run it. But now the problem is , if there are 3 action nodes in my workflow, I don't want to re-run all of them.
Am I smoking here or is it possible to access the last successful oozie node ( which is most likely stored in the mysql database) ?
Is there a better approach to my connived use-case ?
Appreciate your help in advance,
P.S. I am not posting my workflow because it's a simple workflow with several map-reduce actions, no rocket science here.