Oozie example ob for java-main app invokes a MR2 job but then the action status for the java actio ndoes not get updated to OK immediately though the MR job is completed.
It takes like 10 minutesi n oozie to update the action status and then end the job successfully.
We are using CDH 5.11.
I raised a support ticket and I was given the knowledge article which says about creating two groups for oozie since HA was enabled. The solution did work. Thanks for your response.
I finally found the link. Cloudera had actually changed the url and updated the article.