AMBARI-20313. Set tez container max heap fraction to -1 by default for hive 
interactive in HDP 2.6 stack (Zhiyuan Yang via alejandro)


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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: 543dd463a8ad8a742793c2accb2211efd388aa8f
Parents: 496101d
Author: Alejandro Fernandez <afernan...@hortonworks.com>
Authored: Fri Mar 3 16:27:18 2017 -0800
Committer: Alejandro Fernandez <afernan...@hortonworks.com>
Committed: Fri Mar 3 16:27:18 2017 -0800

----------------------------------------------------------------------
 .../2.6/services/HIVE/configuration/tez-interactive-site.xml | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/543dd463/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/tez-interactive-site.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/tez-interactive-site.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/tez-interactive-site.xml
index c49f14b..ab1202a 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/tez-interactive-site.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.6/services/HIVE/configuration/tez-interactive-site.xml
@@ -94,4 +94,12 @@
     </description>
     <on-ambari-upgrade add="false"/>
   </property>
+  <property>
+    <name>tez.container.max.java.heap.fraction</name>
+    <value>-1</value>
+    <description>Setting this to -1 so that Tez can auto determine different
+      Xmx for different container size
+    </description>
+    <on-ambari-upgrade add="false"/>
+  </property>
 </configuration>

Reply via email to