mapreduce.jobtracker.jobhistory.location=${HADOOP_LOG_DIR}/history
mapreduce.job.userhistorylocation=${mapreduce.output.fileoutputformat.outputdir}/_logs/history/
通过命令行查看日志:
$ bin/hadoop job -history output-dir
$ bin/hadoop job -history all output-dir //更详细的job日志
mapreduce.job.userhistorylocation=${mapreduce.output.fileoutputformat.outputdir}/_logs/history/
通过命令行查看日志:
$ bin/hadoop job -history output-dir
$ bin/hadoop job -history all output-dir //更详细的job日志
本文介绍MapReduce中配置Job历史日志的方法,包括如何设置日志存储位置及使用命令行工具查看日志详情。
448

被折叠的 条评论
为什么被折叠?



