I'm trying to set timeout on workflow run in oozie, which fails after some time from start of workflow run.
For example, one can use sla:should-end
within coordinator.xml for action/workflow, or specify sla:should-end
within workflow.xml for entire workflow.
But the problem is SLA only sends email. What I want is just fail after some time (from start of run).
Is it possible? Any sample code would help.