我是hadoop的新手,并试图让我的第一个非平凡的程序工作,并希望查看标准输出以进行调试。 我的理解是标准输出被引导到某个地方的日志文件中,所以我的问题是双重的。 1)存储此输出的日志文件在哪里2)如何查看文件?
仅供参考,我现在只是在虚拟机中的微小输入上运行代码。
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 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.
最满意答案
转到您的jobtracker Web界面,有链接查看作业,单击它们,然后转到映射或减少尝试,并且对于每个任务尝试,都有一个链接来查看此任务的日志。
HTTP://的JobTracker:50060 /任务日志attemptid = attempt_201101171546_0109_m_000000_0与所有=真
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
更多推荐
发布评论