Support Questions
Find answers, ask questions, and share your expertise

could not capture spark job exception in shell action

could not capture spark job exception in shell action

I have prepared a oozie flow for submission of spark job using shell action. In some error scenario, my spark application threw exception and killed . However oozie shell action job is continue to run .

My objective is if spark job throws exception , oozie shell action job should be kill automatically .

Please let me know how to achieve it.