Where are stderr messages logged if not running on EMR?
37 views
Skip to first unread message
Roving Richard
unread,
Apr 4, 2018, 3:33:06 PM4/4/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mrjob
I am having a really hard time debugging some MRJob scripts. I can troubleshoot errors if the job runs to completion, but my life would be much easier if I could just print() arbitrary outputs.
I found an old thread where someone said you can log using sys.stderr.write() (link: https://groups.google.com/d/msg/mrjob/0VL02lfWTv0/qLoEQTvKwTkJ). The discussion says where log files are saved on EMR instances, but where are MRJob logs saved on a local Linux system?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mrjob
I am having the same problem. I cannot find MRJob logs on a local Linux system. My colleague has informed me and I can confirm that logs are created during the execution and then after successful completion the folder containg them is automatically removed unless an error is detected.
Any advice?
Roving Richard
unread,
Oct 29, 2019, 6:34:40 PM10/29/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mrjob
I gave up and switched to PySpark and I am so glad I did.