blob: 35133bf956947e293795494da5fd5a0ff751834c [file] [log] [blame]
<?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_final="true">
<property>
<name>hive.metastore.metrics.enabled</name>
<value>true</value>
<value-attributes>
<type>boolean</type>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.server2.metrics.enabled</name>
<value>true</value>
<value-attributes>
<type>boolean</type>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.service.metrics.reporter</name>
<value>HADOOP2</value>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.service.metrics.hadoop2.component</name>
<value>hivemetastore</value>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.compactor.initiator.on</name>
<value>true</value>
<description>Whether to run the compactor's initiator thread in this metastore instance or not. If there is more than one instance of the thrift metastore this should be set to true on only one instance. Setting true on only one host can be achieved by creating a config-group containing the metastore host, and overriding the default value to true in it.</description>
<display-name>Run Compactor</display-name>
<value-attributes>
<type>boolean</type>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.compactor.worker.threads</name>
<value>5</value>
<description>Number of compactor worker threads to run on this metastore instance. Can be different values on different metastore instances.</description>
<display-name>Number of threads used by Compactor</display-name>
<value-attributes>
<type>int</type>
<minimum>0</minimum>
<maximum>20</maximum>
<increment-step>1</increment-step>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.metastore.dml.events</name>
<value>true</value>
<description>If true, the metastore will be asked to fire events for DML operations</description>
<value-attributes>
<empty-value-valid>true</empty-value-valid>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.metastore.transactional.event.listeners</name>
<value>org.apache.hive.hcatalog.listener.DbNotificationListener</value>
<description>A comma separated list of Java classes that implement the org.apache.hadoop.hive.metastore.MetaStoreEventListener interface. Both the metastore event and corresponding listener method will be invoked in the same JDO transaction.</description>
<value-attributes>
<empty-value-valid>true</empty-value-valid>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
<property>
<name>hive.metastore.event.listeners</name>
<value/>
<description>
Listeners for metastore events
</description>
<value-attributes>
<empty-value-valid>true</empty-value-valid>
</value-attributes>
<on-ambari-upgrade add="false"/>
</property>
</configuration>