<commit_before><?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.task.heartbeat.timeout.check-ms</name>
    <value>15000</value>
    <description>The time interval, in milliseconds, at which the AM will check
      for timed out tasks
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.task.timeout-ms</name>
    <value>90000</value>
    <description>Amount of time the Tez AM waits before marking a task which
      has not sent in a heartbeat, as timed out
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.am.client.heartbeat.timeout.secs</name>
    <value>90</value>
    <description>The time interval, after which an AM will kill itself, if it
      does not receive a heartbeat from the client.
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.am.client.heartbeat.poll.interval.millis</name>
    <value>6000</value>
    <description>The interval at which the AM checks for a client heartbeat
      timeout
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.am.node-blacklisting.enabled</name>
    <value>false</value>
    <description>Whether to enable blacklisting in Tez AMs. Disable for LLAP
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.session.am.dag.submit.timeout.secs</name>
    <value>1209600</value>
    <description>The amount of time an AM will wait, before killing itself,
      if not DAG is submitted.
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.history.logging.taskattempt-filters</name>
    <value>SERVICE_BUSY,EXTERNAL_PREEMPTION</value>
    <description>TASK_ATTEMPT events to be ignored.</description>
    <on-ambari-upgrade add="false"/>
  </property>
  <property>
    <name>tez.history.logging.timeline.num-dags-per-group</name>
    <value>5</value>
    <description>Maximum number of dags per group.</description>
    <on-ambari-upgrade add="false"/>
  </property>
  <property>
    <name>tez.am.task.listener.thread-count</name>
    <value>1</value>
    <description>Number of IPC server thread for Tez task listener. Should
      be minimized for LLAP
    </description>
    <on-ambari-upgrade add="false"/>
  </property>
</configuration>
<commit_msg>AMBARI-20313. Set tez container max heap fraction to -1 by default for hive interactive in HDP 2.6 stack (Zhiyuan Yang via alejandro)<commit_after><?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.task.heartbeat.timeout.check-ms</name>
    <value>15000</value>
    <description>The time interval, in milliseconds, at which the AM will check
      for timed out tasks
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.task.timeout-ms</name>
    <value>90000</value>
    <description>Amount of time the Tez AM waits before marking a task which
      has not sent in a heartbeat, as timed out
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.am.client.heartbeat.timeout.secs</name>
    <value>90</value>
    <description>The time interval, after which an AM will kill itself, if it
      does not receive a heartbeat from the client.
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.am.client.heartbeat.poll.interval.millis</name>
    <value>6000</value>
    <description>The interval at which the AM checks for a client heartbeat
      timeout
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.am.node-blacklisting.enabled</name>
    <value>false</value>
    <description>Whether to enable blacklisting in Tez AMs. Disable for LLAP
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.session.am.dag.submit.timeout.secs</name>
    <value>1209600</value>
    <description>The amount of time an AM will wait, before killing itself,
      if not DAG is submitted.
    </description>
    <on-ambari-upgrade add="true"/>
  </property>
  <property>
    <name>tez.history.logging.taskattempt-filters</name>
    <value>SERVICE_BUSY,EXTERNAL_PREEMPTION</value>
    <description>TASK_ATTEMPT events to be ignored.</description>
    <on-ambari-upgrade add="false"/>
  </property>
  <property>
    <name>tez.history.logging.timeline.num-dags-per-group</name>
    <value>5</value>
    <description>Maximum number of dags per group.</description>
    <on-ambari-upgrade add="false"/>
  </property>
  <property>
    <name>tez.am.task.listener.thread-count</name>
    <value>1</value>
    <description>Number of IPC server thread for Tez task listener. Should
      be minimized for LLAP
    </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>

{'fraction_non_alphanumeric': 0.10546631801768148, 'fraction_numerical': 0.010459469555472544, 'mean_word_length': 3.3486735246345427, 'pattern_counts': {'":': 0, '<': 184, '<?xml version=': 2, '>': 184, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3528885', 'n_tokens_mistral': 2464, 'n_tokens_neox': 2376, 'n_words': 810}