Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I check Oozie logs

Tags:

hadoop

oozie

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

like image 438
user2694419 Avatar asked Aug 18 '13 20:08

user2694419


People also ask

Where are Oozie logs stored?

The logs will also be saved under /var/log/oozie directory.

How do I check my Oozie workflow?

To check the workflow job status via the Oozie web console, with a browser go to http://localhost:11000/oozie .


2 Answers

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.

like image 193
Crackerman Avatar answered Sep 20 '22 15:09

Crackerman


cd /var/log/oozie/
ls 

You should see the log file there.

like image 42
Nimmagadda Avatar answered Sep 18 '22 15:09

Nimmagadda