yarn logs aggregation configuration

This commit is contained in:
judy0131 2018-10-17 14:43:10 +08:00
parent 2354b9b0c7
commit 5efe1a1745
1 changed files with 18 additions and 0 deletions

View File

@ -9,3 +9,21 @@ clean package -Dmaven.test.skip=true -U
3.set SPARK_HOME in Configurations
Edit Configurations --> Application(HttpService) --> Configurations --> Environment Variable
4. yarn log aggregation
Edit yarn-site.xml, add the following content
<property>
<name>yarn.log-aggregation-enable</name>
<value>true</value>
</property>
<property>
<name>yarn.nodemanager.log-aggregation.debug-enabled</name>
<value>true</value>
</property>
<property>
<name>yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds</name>
<value>3600</value>
</property>