# yarn-site.xml
yarn.log-aggregation-enable
true
yarn.log.server.url
http://bigdata01:19888/jobhistory/logs/
还需在所有节点启动一个进程
bin/mapred --daemon start historyserver
使用命令的方式查看日志
yarn logs -applicationId application_1669106811951_0002
Comments NOTHING