标签:bsp reg pre mon name 聚集 ret resource tar
注意:开启日志聚集功能,需要重新启动nademanager,resourcemanager,historymanager
1. 配置yarn-site.xml
<!--日志聚集功能开启--> <property> <name>yarn.log-aggregation-enable</name> <value>true</value> <property> <!--日志保留时间设置7天--> <property> <name>yarn.log-aggregation.retain-seconds</name> <value>604800</value> <property>
2.关闭nademanager,resourcemanager,historymanager
yarn-daemon.sh stop resourcemanager yarn-daemon.sh stop nodemanager yarn-daemon.sh stop historyserver
3.启动nademanager,resourcemanager,historymanager
yarn-daemon.sh start resourcemanager yarn-daemon.sh start nodemanager yarn-daemon.sh start historyserver
4.查看日志
http://linux4:19888/jobhistory
标签:bsp reg pre mon name 聚集 ret resource tar
原文地址:https://www.cnblogs.com/abuduri/p/13176031.html