How can I check Oozie logs

user2694419 picture user2694419 · Aug 18, 2013 · Viewed 29.9k times · Source

My coordinator failed with Error : E0301 invalid resource [filename] when I do hadoop fs -ls [filename] the file is listed.

how can I debug what is wrong. how can I check log files???

oozie job -log requires jobId. in my case i dont have job id. how can I see logs in that case. appreciate responses.

thank you

Answer

Crackerman picture Crackerman · Apr 1, 2016

If you are looking for a command line way to do this, you can run the following:

oozie job -oozie http://localhost:11000 -info <wfid>
oozie job -oozie http://localhost:11000 -log <wfid>

If you have the $OOZIE_URL set, then you do not need the -oozie parm in the above statements. This first command will show you the status of the job and each action. The second command will dig into the oozie log and display the part in the log that pertains to the workflow id that was passed in.