How do I view standard out in hadoop?
I'm new to hadoop and trying to get my first non-trivial program working, and want to view standard out for debugging purposes. It's my understanding that standard out is directed into log files somewhere, so my 开发者_C百科question is twofold. 1) where is the log file storing this output 2) how do I view the file?
FYI, I'm just running the code on tiny inputs in the virtual machine right now.
Go to your jobtracker web interface, there are links to view jobs, click on them, then go to map or reduce attempts, and for each task attempt there's a link to view logs for this task.
http://jobtracker:50060/tasklog?attemptid=attempt_201101171546_0109_m_000000_0&all=true
精彩评论