blob: f34f696521906b9c45577727025a14d53c60d48c [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.
-->
<metainfo>
<schemaVersion>2.0</schemaVersion>
<services>
<service>
<name>HIVE</name>
<displayName>Hive</displayName>
<comment>Data warehouse system for ad-hoc queries &amp; analysis of large datasets and table &amp; storage management service</comment>
<version>0.12.0.2.0</version>
<components>
<component>
<name>HIVE_METASTORE</name>
<displayName>Hive Metastore</displayName>
<category>MASTER</category>
<cardinality>1</cardinality>
<versionAdvertised>true</versionAdvertised>
<reassignAllowed>true</reassignAllowed>
<clientsToUpdateConfigs></clientsToUpdateConfigs>
<auto-deploy>
<enabled>true</enabled>
<co-locate>HIVE/HIVE_SERVER</co-locate>
</auto-deploy>
<commandScript>
<script>scripts/hive_metastore.py</script>
<scriptType>PYTHON</scriptType>
<timeout>1200</timeout>
</commandScript>
<logs>
<log>
<logId>hive_metastore</logId>
<primary>true</primary>
</log>
</logs>
<configuration-dependencies>
<config-type>hive-site</config-type>
</configuration-dependencies>
</component>
<component>
<name>HIVE_SERVER</name>
<displayName>HiveServer2</displayName>
<category>MASTER</category>
<cardinality>1</cardinality>
<versionAdvertised>true</versionAdvertised>
<reassignAllowed>true</reassignAllowed>
<clientsToUpdateConfigs></clientsToUpdateConfigs>
<dependencies>
<dependency>
<name>ZOOKEEPER/ZOOKEEPER_SERVER</name>
<scope>cluster</scope>
<auto-deploy>
<enabled>true</enabled>
<co-locate>HIVE/HIVE_SERVER</co-locate>
</auto-deploy>
</dependency>
<dependency>
<name>YARN/YARN_CLIENT</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
<dependency>
<name>MAPREDUCE2/MAPREDUCE2_CLIENT</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
</dependencies>
<commandScript>
<script>scripts/hive_server.py</script>
<scriptType>PYTHON</scriptType>
</commandScript>
<logs>
<log>
<logId>hive_hiveserver2</logId>
<primary>true</primary>
</log>
</logs>
<configuration-dependencies>
<config-type>hive-site</config-type>
</configuration-dependencies>
</component>
<component>
<name>WEBHCAT_SERVER</name>
<displayName>WebHCat Server</displayName>
<category>MASTER</category>
<cardinality>1</cardinality>
<versionAdvertised>true</versionAdvertised>
<reassignAllowed>true</reassignAllowed>
<clientsToUpdateConfigs>
<client>HCAT</client>
</clientsToUpdateConfigs>
<dependencies>
<dependency>
<name>HDFS/HDFS_CLIENT</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
<dependency>
<name>HIVE/HIVE_CLIENT</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
<dependency>
<name>MAPREDUCE2/MAPREDUCE2_CLIENT</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
<dependency>
<name>ZOOKEEPER/ZOOKEEPER_SERVER</name>
<scope>cluster</scope>
<auto-deploy>
<enabled>true</enabled>
<co-locate>HIVE/WEBHCAT_SERVER</co-locate>
</auto-deploy>
</dependency>
<dependency>
<name>ZOOKEEPER/ZOOKEEPER_CLIENT</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
<dependency>
<name>YARN/YARN_CLIENT</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
<dependency>
<name>PIG/PIG</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
</dependencies>
<commandScript>
<script>scripts/webhcat_server.py</script>
<scriptType>PYTHON</scriptType>
<timeout>1200</timeout>
</commandScript>
<configuration-dependencies>
<config-type>hive-site</config-type>
</configuration-dependencies>
</component>
<component>
<name>MYSQL_SERVER</name>
<displayName>MySQL Server</displayName>
<category>MASTER</category>
<cardinality>0-1</cardinality>
<versionAdvertised>false</versionAdvertised>
<reassignAllowed>true</reassignAllowed>
<clientsToUpdateConfigs></clientsToUpdateConfigs>
<commandScript>
<script>scripts/mysql_server.py</script>
<scriptType>PYTHON</scriptType>
</commandScript>
<customCommands>
<customCommand>
<name>CLEAN</name>
<commandScript>
<script>scripts/mysql_server.py</script>
<scriptType>PYTHON</scriptType>
<timeout>600</timeout>
</commandScript>
</customCommand>
</customCommands>
</component>
<component>
<name>HIVE_CLIENT</name>
<displayName>Hive Client</displayName>
<category>CLIENT</category>
<cardinality>1+</cardinality>
<versionAdvertised>true</versionAdvertised>
<commandScript>
<script>scripts/hive_client.py</script>
<scriptType>PYTHON</scriptType>
</commandScript>
<configFiles>
<configFile>
<type>xml</type>
<fileName>hive-site.xml</fileName>
<dictionaryName>hive-site</dictionaryName>
</configFile>
<configFile>
<type>env</type>
<fileName>hive-env.sh</fileName>
<dictionaryName>hive-env</dictionaryName>
</configFile>
<configFile>
<type>env</type>
<fileName>hive-log4j.properties</fileName>
<dictionaryName>hive-log4j</dictionaryName>
</configFile>
<configFile>
<type>env</type>
<fileName>hive-exec-log4j.properties</fileName>
<dictionaryName>hive-exec-log4j</dictionaryName>
</configFile>
<configFile>
<type>env</type>
<fileName>parquet-logging.properties</fileName>
<dictionaryName>parquet-logging</dictionaryName>
<optional>true</optional>
</configFile>
</configFiles>
<configuration-dependencies>
<config-type>hive-site</config-type>
</configuration-dependencies>
</component>
<component>
<name>HCAT</name>
<displayName>HCat Client</displayName>
<cardinality>0+</cardinality>
<category>CLIENT</category>
<versionAdvertised>true</versionAdvertised>
<commandScript>
<script>scripts/hcat_client.py</script>
<scriptType>PYTHON</scriptType>
</commandScript>
<configFiles>
<configFile>
<type>env</type>
<fileName>hcat-env.sh</fileName>
<dictionaryName>hcat-env</dictionaryName>
</configFile>
</configFiles>
<configuration-dependencies>
<config-type>hive-site</config-type>
</configuration-dependencies>
</component>
</components>
<osSpecifics>
<osSpecific>
<osFamily>any</osFamily>
<packages>
<package>
<name>hive</name>
</package>
<package>
<name>hcatalog</name>
</package>
<package>
<name>webhcat-tar-hive</name>
</package>
<package>
<name>webhcat-tar-pig</name>
</package>
</packages>
</osSpecific>
<osSpecific>
<osFamily>amazon2015,redhat6,suse11,suse12</osFamily>
<packages>
<package>
<name>mysql</name>
<skipUpgrade>true</skipUpgrade>
</package>
</packages>
</osSpecific>
<osSpecific>
<osFamily>amazon2015,redhat6,debian7,ubuntu12,ubuntu14,ubuntu16</osFamily>
<packages>
<package>
<name>mysql-server</name>
<skipUpgrade>true</skipUpgrade>
<condition>should_install_mysql</condition>
</package>
</packages>
</osSpecific>
<osSpecific>
<osFamily>redhat7</osFamily>
<packages>
<package>
<name>mysql-community-release</name>
<skipUpgrade>true</skipUpgrade>
<condition>should_install_mysql</condition>
</package>
<package>
<name>mysql-community-server</name>
<skipUpgrade>true</skipUpgrade>
<condition>should_install_mysql</condition>
</package>
</packages>
</osSpecific>
<osSpecific>
<osFamily>suse11,suse12</osFamily>
<packages>
<package>
<name>mysql-client</name>
<skipUpgrade>true</skipUpgrade>
</package>
</packages>
</osSpecific>
</osSpecifics>
<commandScript>
<script>scripts/service_check.py</script>
<scriptType>PYTHON</scriptType>
<timeout>300</timeout>
</commandScript>
<requiredServices>
<service>ZOOKEEPER</service>
<service>YARN</service>
<service>TEZ</service>
</requiredServices>
<configuration-dependencies>
<config-type>hive-log4j</config-type>
<config-type>hive-exec-log4j</config-type>
<config-type>hive-env</config-type>
<config-type>hivemetastore-site.xml</config-type>
<config-type>webhcat-site</config-type>
<config-type>webhcat-env</config-type>
<config-type>parquet-logging</config-type>
<config-type>ranger-hive-plugin-properties</config-type>
<config-type>ranger-hive-audit</config-type>
<config-type>ranger-hive-policymgr-ssl</config-type>
<config-type>ranger-hive-security</config-type>
<config-type>mapred-site</config-type>
<config-type>application.properties</config-type>
<config-type>druid-common</config-type>
</configuration-dependencies>
</service>
</services>
</metainfo>