aboutsummaryrefslogtreecommitdiff
path: root/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
diff options
context:
space:
mode:
Diffstat (limited to 'bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml')
-rw-r--r--bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml b/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
index 6f6c4648..054ae653 100644
--- a/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
+++ b/bigtop-deploy/puppet/modules/hadoop/templates/yarn-site.xml
@@ -145,7 +145,12 @@
<name>yarn.log-aggregation-enable</name>
<value>true</value>
</property>
-
+<% if @yarn_log_server_url %>
+ <property>
+ <name>yarn.log.server.url</name>
+ <value><%= @yarn_log_server_url %></value>
+ </property>
+<% end %>
<property>
<name>yarn.dispatcher.exit-on-error</name>
<value>true</value>