hadoop mapreduce框架在哪里发送我的System.out.print()语句? (标准输出) [英] Where does hadoop mapreduce framework send my System.out.print() statements ? (stdout)
问题描述
我想要调试一个mapreduce脚本,并且不会在尝试将一些打印语句放入我的程序中时遇到太多麻烦。但我似乎无法在任何日志中找到它们。
实际上,stdout只显示 System.out.println()
非地图缩小类。
映射和缩减阶段的 System.out.println()
可以在日志中看到。访问日志的简单方法是
http :// localhost:50030 / jobtracker.jsp- >点击完成的作业 - >点击地图或减少任务 - >点击任务数量 - >任务日志 - >标准输出日志。
希望这有助于
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.
Actually stdout only shows the System.out.println()
of the non-map reduce classes.
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->click on the completed job->click on map or reduce task->click on tasknumber->task logs->stdout logs.
Hope this helps
这篇关于hadoop mapreduce框架在哪里发送我的System.out.print()语句? (标准输出)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!