CDH 5: Oozie action stuck at PREP state

I have observed oozie action stuck at PREP state when im doing small hadoop jobs.
This issue is i came across when i use Cloudera version 5.

I found below solution worked for me,

Open Oozie job.properties file


Change port number for jobtracker from jobTracker=localhost:8021tojobTracker=localhost:8032. 

Comments