<commit_before><?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
 * 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_adding_forbidden="true">
  <property>
    <name>hive.client.heapsize</name>
    <value>512</value>
    <description>Hive Client Java heap size</description>
    <display-name>Client Heap Size</display-name>
    <value-attributes>
      <type>int</type>
      <minimum>512</minimum>
      <maximum>2048</maximum>
      <unit>MB</unit>
      <increment-step>512</increment-step>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <property>
    <name>hive.metastore.heapsize</name>
    <value>1024</value>
    <description>Hive Metastore Java heap size</description>
    <display-name>Metastore Heap Size</display-name>
    <value-attributes>
      <type>int</type>
      <minimum>512</minimum>
      <maximum>2048</maximum>
      <unit>MB</unit>
      <increment-step>512</increment-step>
    </value-attributes>
  </property>

  <property>
    <name>hive_database_type</name>
    <value>mysql</value>
    <display-name>Hive Database Type</display-name>
    <description>Default HIVE DB type.</description>
    <value-attributes>
      <overridable>false</overridable>
    </value-attributes>
    <depends-on>
      <property>
        <type>hive-env</type>
        <name>hive_database</name>
      </property>
    </depends-on>
  </property>
  <property>
    <name>hive_database</name>
    <value>New MySQL Database</value>
    <display-name>Hive Database</display-name>
    <description>
      Property that determines whether the HIVE DB is managed by Ambari.
    </description>
    <value-attributes>
      <overridable>false</overridable>
    </value-attributes>
  </property>
  <property>
    <name>hive_ambari_database</name>
    <value>MySQL</value>
    <description>Database type.</description>
  </property>
  <property>
    <name>hive_database_name</name>
    <value>hive</value>
    <description>Database name.</description>
    <value-attributes>
      <type>database</type>
      <visible>false</visible>
      <editable-only-at-install>true</editable-only-at-install>
      <overridable>false</overridable>
    </value-attributes>
  </property>
  <property>
    <name>hive_log_dir</name>
    <value>/var/log/hive</value>
    <display-name>Hive Log Dir</display-name>
    <description>Directory for Hive Log files.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
    </value-attributes>
  </property>
  <property>
    <name>hive_pid_dir</name>
    <value>/var/run/hive</value>
    <display-name>Hive PID Dir</display-name>
    <description>Hive PID Dir.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
      <editable-only-at-install>true</editable-only-at-install>
    </value-attributes>
  </property>
  <property>
    <name>hive_user</name>
    <display-name>Hive User</display-name>
    <value>hive</value>
    <property-type>USER</property-type>
    <description>Hive User.</description>
    <value-attributes>
      <type>user</type>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <!--HCAT-->

  <property>
    <name>hcat_log_dir</name>
    <value>/var/log/webhcat</value>
    <display-name>WebHCat Log Dir</display-name>
    <description>WebHCat Log Dir.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
      <editable-only-at-install>true</editable-only-at-install>
    </value-attributes>
  </property>
  <property>
    <name>hcat_pid_dir</name>
    <value>/var/run/webhcat</value>
    <display-name>WebHCat Pid Dir</display-name>
    <description>WebHCat Pid Dir.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
      <editable-only-at-install>true</editable-only-at-install>
    </value-attributes>
  </property>
  <property>
    <name>hcat_user</name>
    <display-name>HCat User</display-name>
    <value>hcat</value>
    <property-type>USER</property-type>
    <description>HCat User.</description>
    <value-attributes>
      <type>user</type><commit_msg>AMBARI-15563. hcat_log_dir is still not editable in UI (alexantonenko)<commit_after><?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
 * 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_adding_forbidden="true">
  <property>
    <name>hive.client.heapsize</name>
    <value>512</value>
    <description>Hive Client Java heap size</description>
    <display-name>Client Heap Size</display-name>
    <value-attributes>
      <type>int</type>
      <minimum>512</minimum>
      <maximum>2048</maximum>
      <unit>MB</unit>
      <increment-step>512</increment-step>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <property>
    <name>hive.metastore.heapsize</name>
    <value>1024</value>
    <description>Hive Metastore Java heap size</description>
    <display-name>Metastore Heap Size</display-name>
    <value-attributes>
      <type>int</type>
      <minimum>512</minimum>
      <maximum>2048</maximum>
      <unit>MB</unit>
      <increment-step>512</increment-step>
    </value-attributes>
  </property>

  <property>
    <name>hive_database_type</name>
    <value>mysql</value>
    <display-name>Hive Database Type</display-name>
    <description>Default HIVE DB type.</description>
    <value-attributes>
      <overridable>false</overridable>
    </value-attributes>
    <depends-on>
      <property>
        <type>hive-env</type>
        <name>hive_database</name>
      </property>
    </depends-on>
  </property>
  <property>
    <name>hive_database</name>
    <value>New MySQL Database</value>
    <display-name>Hive Database</display-name>
    <description>
      Property that determines whether the HIVE DB is managed by Ambari.
    </description>
    <value-attributes>
      <overridable>false</overridable>
    </value-attributes>
  </property>
  <property>
    <name>hive_ambari_database</name>
    <value>MySQL</value>
    <description>Database type.</description>
  </property>
  <property>
    <name>hive_database_name</name>
    <value>hive</value>
    <description>Database name.</description>
    <value-attributes>
      <type>database</type>
      <visible>false</visible>
      <editable-only-at-install>true</editable-only-at-install>
      <overridable>false</overridable>
    </value-attributes>
  </property>
  <property>
    <name>hive_log_dir</name>
    <value>/var/log/hive</value>
    <display-name>Hive Log Dir</display-name>
    <description>Directory for Hive Log files.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
    </value-attributes>
  </property>
  <property>
    <name>hive_pid_dir</name>
    <value>/var/run/hive</value>
    <display-name>Hive PID Dir</display-name>
    <description>Hive PID Dir.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
      <editable-only-at-install>true</editable-only-at-install>
    </value-attributes>
  </property>
  <property>
    <name>hive_user</name>
    <display-name>Hive User</display-name>
    <value>hive</value>
    <property-type>USER</property-type>
    <description>Hive User.</description>
    <value-attributes>
      <type>user</type>
      <overridable>false</overridable>
    </value-attributes>
  </property>

  <!--HCAT-->

  <property>
    <name>hcat_log_dir</name>
    <value>/var/log/webhcat</value>
    <display-name>WebHCat Log Dir</display-name>
    <description>WebHCat Log Dir.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
    </value-attributes>
  </property>
  <property>
    <name>hcat_pid_dir</name>
    <value>/var/run/webhcat</value>
    <display-name>WebHCat Pid Dir</display-name>
    <description>WebHCat Pid Dir.</description>
    <value-attributes>
      <type>directory</type>
      <overridable>false</overridable>
      <editable-only-at-install>true</editable-only-at-install>
    </value-attributes>
  </property>
  <property>
    <name>hcat_user</name>
    <display-name>HCat User</display-name>
    <value>hcat</value>
    <property-type>USER</property-type>
    <description>HCat User.</description>
    <value-attributes>
      <type>user</type>
{'fraction_non_alphanumeric': 0.14248627059410884, 'fraction_numerical': 0.0070893659510733896, 'mean_word_length': 3.3949100482667838, 'pattern_counts': {'":': 0, '<': 431, '<?xml version=': 2, '>': 431, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '6545799', 'n_tokens_mistral': 3263, 'n_tokens_neox': 3193, 'n_words': 616}