如何在hadoop中查看标准? [英] How do I view standard out in hadoop?

查看:108
本文介绍了如何在hadoop中查看标准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是hadoop的新手,并试图让我的第一个不重要的程序工作,并希望将标准视为调试目的。我的理解是,标准输出被导入到某个地方的日志文件中,所以我的问题是双重的。 1)其中是存储此输出的日志文件2)如何查看文件?



仅供参考,我只是在虚拟机上的微小输入上运行代码

解决方案

转到您的jobtracker Web界面,有链接查看作业,点击它们,然后转到地图或减少尝试次数,并且对于每个任务尝试,都有链接查看此任务的日志。

http:// jobtracker: 50060 / tasklog?attemptptid = attempt_201101171546_0109_m_000000_0& all = true


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.

解决方案

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

这篇关于如何在hadoop中查看标准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆