blob: 16e2cfc227d2041264be1a73e5f36a91655b7bc2 [file] [log] [blame]
<?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">
<!--
Note: This file includes only those configs which are supposed to have different value from the parent tez/tez-site.
It inherits the other required configs from tez/tez-site.
The inheritance logic in order to get tez_hive2/tez-site goes like this :
1. We read the tez/tez-site which includes the stack defaults and Stack Advisor recommended values.
2. We take the read tez/tez-site (step 1), and on top of it apply the tez-interactive-site to get tez_hive2/tez-site.
Therefore, any config defined here will override the config value read from tez/tez-site (step 1).
-->
<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="true"/>
</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="true"/>
</property>
<property>
<name>tez.runtime.report.partition.stats</name>
<value>true</value>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.runtime.pipelined-shuffle.enabled</name>
<value>false</value>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.runtime.pipelined.sorter.lazy-allocate.memory</name>
<value>true</value>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.grouping.node.local.only</name>
<value>true</value>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.runtime.shuffle.fetch.verify-disk-checksum</name>
<value>false</value>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.lib.uris</name>
<display-name>TEZ Lib URIs</display-name>
<value>/hdp/apps/${hdp.version}/tez_hive2/tez.tar.gz</value>
<description>Comma-delimited list of the location of the Tez libraries which will be localized for DAGs.
Specifying a single .tar.gz or .tgz assumes that a compressed version of the tez libs is being used. This is uncompressed into a tezlibs directory when running containers, and tezlibs/;tezlibs/lib/ are added to the classpath (after . and .*).
If multiple files are specified - files are localized as regular files, contents of directories are localized as regular files (non-recursive).
</description>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.dag.recovery.enabled</name>
<value>false</value>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>tez.am.resource.memory.mb</name>
<value>1536</value>
<description>The amount of memory to be used by the AppMaster</description>
<depends-on>
<property>
<type>hive-interactive-env</type>
<name>enable_hive_interactive</name>
</property>
<property>
<type>hive-interactive-env</type>
<name>num_llap_nodes</name>
</property>
<property>
<type>hive-interactive-site</type>
<name>hive.llap.daemon.queue.name</name>
</property>
<property>
<type>capacity-scheduler</type>
<name>yarn.scheduler.capacity.root.queues</name>
</property>
<property>
<type>hive-interactive-site</type>
<name>hive.server2.tez.sessions.per.default.queue</name>
</property>
</depends-on>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.runtime.io.sort.mb</name>
<value>512</value>
<description>The size of the sort buffer when output needs to be sorted</description>
<depends-on>
<property>
<type>tez-site</type>
<name>tez.task.resource.memory.mb</name>
</property>
<property>
<type>hive-interactive-env</type>
<name>enable_hive_interactive</name>
</property>
<property>
<type>hive-interactive-env</type>
<name>num_llap_nodes</name>
</property>
<property>
<type>hive-interactive-site</type>
<name>hive.llap.daemon.queue.name</name>
</property>
<property>
<type>capacity-scheduler</type>
<name>yarn.scheduler.capacity.root.queues</name>
</property>
<property>
<type>hive-interactive-site</type>
<name>hive.server2.tez.sessions.per.default.queue</name>
</property>
</depends-on>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.runtime.unordered.output.buffer.size-mb</name>
<value>100</value>
<description>The size of the buffer when output does not require to be sorted</description>
<depends-on>
<property>
<type>tez-site</type>
<name>tez.task.resource.memory.mb</name>
</property>
<property>
<type>hive-interactive-env</type>
<name>enable_hive_interactive</name>
</property>
<property>
<type>hive-interactive-env</type>
<name>num_llap_nodes</name>
</property>
<property>
<type>hive-interactive-site</type>
<name>hive.llap.daemon.queue.name</name>
</property>
<property>
<type>capacity-scheduler</type>
<name>yarn.scheduler.capacity.root.queues</name>
</property>
<property>
<type>hive-interactive-site</type>
<name>hive.server2.tez.sessions.per.default.queue</name>
</property>
</depends-on>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.session.am.dag.submit.timeout.secs</name>
<value>3600</value>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>tez.runtime.shuffle.parallel.copies</name>
<value>8</value>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>tez.runtime.shuffle.ssl.enable</name>
<value>false</value>
<value-attributes>
<type>boolean</type>
<overridable>false</overridable>
<editable-only-at-install>true</editable-only-at-install>
</value-attributes>
<final>true</final>
<on-ambari-upgrade add="true"/>
</property>
</configuration>