You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vb...@apache.org on 2017/10/02 10:37:05 UTC

ambari git commit: AMBARI-22107. Enable new Log Aggregation format for Yarn default configuration in Ambari.(vbrodetskyi)

Repository: ambari
Updated Branches:
  refs/heads/branch-2.6 65fff2c32 -> c5233ac33


AMBARI-22107. Enable new Log Aggregation format for Yarn default configuration in Ambari.(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c5233ac3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c5233ac3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c5233ac3

Branch: refs/heads/branch-2.6
Commit: c5233ac33ccf967dba78c93e34d112e8e96a7283
Parents: 65fff2c
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Mon Oct 2 13:36:10 2017 +0300
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Mon Oct 2 13:36:10 2017 +0300

----------------------------------------------------------------------
 .../2.6/services/YARN/configuration/yarn-site.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c5233ac3/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
index 9094b15..b5eedea 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/configuration/yarn-site.xml
@@ -117,4 +117,22 @@
     </depends-on>
     <on-ambari-upgrade add="false"/>
   </property>
+  <property>
+    <name>yarn.log-aggregation.file-formats</name>
+    <value>IndexedFormat,TFile</value>
+    <description></description>
+    <on-ambari-upgrade add="true"/>
+  </property>
+  <property>
+    <name>yarn.log-aggregation.file-controller.TFile.class</name>
+    <value>org.apache.hadoop.yarn.logaggregation.filecontroller.tfile.LogAggregationTFileController</value>
+    <description></description>
+    <on-ambari-upgrade add="true"/>
+  </property>
+  <property>
+    <name>yarn.log-aggregation.file-controller.IndexedFormat.class</name>
+    <value>org.apache.hadoop.yarn.logaggregation.filecontroller.ifile.LogAggregationIndexedFileController</value>
+    <description></description>
+    <on-ambari-upgrade add="true"/>
+  </property>
 </configuration>