yarn container 的日志路径
/etc/hadoop/conf/yarn-site.xml 配置文件中
- yarn.nodemanager.log-dirs 指定本机的日志路径 (/hadoopfs/fs1/yarn/nodemanager/log/application_1546250639760_0052/container_e03_1546250639760_0052_01_000001/)
- yarn.log-aggregation-enable 是否启用日志聚集功能。默认 false。
yarn.log-aggregation-enable 启用之后,日志路径:hdfs://app-logs/user_name/logs-ifile/application_1546250639760_0045
查看日志 yarn logs -applicationId application_1546250639760_0055