hadoop mapreduce 框架将我的 System.out.print() 语句发送到哪里?(标准输出) [英] Where does hadoop mapreduce framework send my System.out.print() statements ? (stdout)

查看:26
本文介绍了hadoop mapreduce 框架将我的 System.out.print() 语句发送到哪里?(标准输出)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想调试一个 mapreduce 脚本,并且尝试在我的程序中放入一些打印语句而没有遇到太多麻烦.但我似乎无法在任何日志中找到它们.

I want to debug a mapreduce script, and without going into much trouble tried to put some print statements in my program. But I cant seem to find them in any of the logs.

推荐答案

其实stdout只显示non-map reduce类的System.out.println().

Actually stdout only shows the System.out.println() of the non-map reduce classes.

可以在日志中看到 map 和 reduce 阶段的 System.out.println().访问日志的简单方法是

The System.out.println() for map and reduce phases can be seen in the logs. Easy way to access the logs is

http://localhost:50030/jobtracker.jsp->点击完成的工作->点击地图或减少任务->点击任务编号->任务日志->标准输出日志.

http://localhost:50030/jobtracker.jsp->click on the completed job->click on map or reduce task->click on tasknumber->task logs->stdout logs.

希望对你有帮助

这篇关于hadoop mapreduce 框架将我的 System.out.print() 语句发送到哪里?(标准输出)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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