Repository: ambari Updated Branches: refs/heads/trunk e70bd21bb -> b3241e3f0
AMBARI-17099. Add tez-site and update tez-interactive-site for HDP stack 2.5. (Siddharth Seth via Swapan Shridhar). Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/b3241e3f Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/b3241e3f Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/b3241e3f Branch: refs/heads/trunk Commit: b3241e3f03948f9e2de2acc8f01e1432640d1c1c Parents: e70bd21 Author: Swapan Shridhar <[email protected]> Authored: Tue Jun 7 16:48:50 2016 -0700 Committer: Swapan Shridhar <[email protected]> Committed: Tue Jun 7 16:48:50 2016 -0700 ---------------------------------------------------------------------- .../HIVE/configuration/tez-interactive-site.xml | 19 ++++++++++ .../2.5/services/TEZ/configuration/tez-site.xml | 39 ++++++++++++++++++++ 2 files changed, 58 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/b3241e3f/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/tez-interactive-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/tez-interactive-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/tez-interactive-site.xml index 7958d85..18d0a09 100644 --- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/tez-interactive-site.xml +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/HIVE/configuration/tez-interactive-site.xml @@ -17,6 +17,25 @@ limitations under the License. --> <configuration supports_final="true"> + + <property> + <name>tez.runtime.shuffle.fetch.buffer.percent</name> + <value>0.6</value> + <description>Fraction (0-1) of the available memory which can be used to + retain shuffled data</description> + <on-ambari-upgrade add="false" change="true" delete="true"/> + <on-stack-upgrade add="true" change="true" delete="false"/> + </property> + <property> + <name>tez.runtime.shuffle.memory.limit.percent</name> + <value>0.25</value> + <description>This property determines the maximum size of a shuffle segment + which can be fetched to memory. Fraction (0-1) of shuffle memory + (after applying tez.runtime.shuffle.fetch.buffer.percent)</description> + <on-ambari-upgrade add="false" change="true" delete="true"/> + <on-stack-upgrade add="true" change="true" delete="false"/> + </property> + <property> <name>tez.runtime.report.partition.stats</name> <value>true</value> http://git-wip-us.apache.org/repos/asf/ambari/blob/b3241e3f/ambari-server/src/main/resources/stacks/HDP/2.5/services/TEZ/configuration/tez-site.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/TEZ/configuration/tez-site.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/TEZ/configuration/tez-site.xml new file mode 100644 index 0000000..6a0d3db --- /dev/null +++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/TEZ/configuration/tez-site.xml @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<configuration supports_final="true"> + + <property> + <name>tez.runtime.shuffle.fetch.buffer.percent</name> + <value>0.6</value> + <description>Fraction (0-1) of the available memory which can be used to + retain shuffled data</description> + <on-ambari-upgrade add="false" change="true" delete="true"/> + <on-stack-upgrade add="true" change="true" delete="false"/> + </property> + <property> + <name>tez.runtime.shuffle.memory.limit.percent</name> + <value>0.25</value> + <description>This property determines the maximum size of a shuffle segment + which can be fetched to memory. Fraction (0-1) of shuffle memory + (after applying tez.runtime.shuffle.fetch.buffer.percent)</description> + <on-ambari-upgrade add="false" change="true" delete="true"/> + <on-stack-upgrade add="true" change="true" delete="false"/> + </property> + +</configuration>
