如何在hadoop中查看标准输出?(How do I view standard out in hadoop?)

编程入门 行业动态 更新时间:2024-10-27 01:27:51
如何在hadoop中查看标准输出?(How do I view standard out in hadoop?)

我是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

更多推荐

本文发布于:2023-07-05 08:53:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1035447.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:标准   如何在   standard   hadoop   view

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!