|
@@ -0,0 +1,261 @@
|
|
|
+<?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>
|
|
|
+ <comment>Data warehouse system for ad-hoc queries & analysis of large datasets and table & storage management service</comment>
|
|
|
+ <version>0.11.0.2.0.5.0</version>
|
|
|
+ <components>
|
|
|
+
|
|
|
+ <component>
|
|
|
+ <name>HIVE_METASTORE</name>
|
|
|
+ <category>MASTER</category>
|
|
|
+ <cardinality>1</cardinality>
|
|
|
+ <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>600</timeout>
|
|
|
+ </commandScript>
|
|
|
+ <configuration-dependencies>
|
|
|
+ <config-type>hive-site</config-type>
|
|
|
+ </configuration-dependencies>
|
|
|
+ </component>
|
|
|
+
|
|
|
+ <component>
|
|
|
+ <name>HIVE_SERVER</name>
|
|
|
+ <category>MASTER</category>
|
|
|
+ <cardinality>1</cardinality>
|
|
|
+ <clientsToUpdateConfigs></clientsToUpdateConfigs>
|
|
|
+ <reassignAllowed>false</reassignAllowed>
|
|
|
+ <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>TEZ/TEZ_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>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>
|
|
|
+ <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>
|
|
|
+ <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>MAPREDUCE/MAPREDUCE_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>WEBHCAT/WEBHCAT_SERVER</co-locate>
|
|
|
+ </auto-deploy>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <name>ZOOKEEPER/ZOOKEEPER_CLIENT</name>
|
|
|
+ <scope>host</scope>
|
|
|
+ <auto-deploy>
|
|
|
+ <enabled>true</enabled>
|
|
|
+ </auto-deploy>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/webhcat_server.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ <timeout>600</timeout>
|
|
|
+ </commandScript>
|
|
|
+ <configuration-dependencies>
|
|
|
+ <config-type>hive-site</config-type>
|
|
|
+ </configuration-dependencies>
|
|
|
+ </component>
|
|
|
+
|
|
|
+ <component>
|
|
|
+ <name>MYSQL_SERVER</name>
|
|
|
+ <category>MASTER</category>
|
|
|
+ <cardinality>1</cardinality>
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/mysql_server.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ </commandScript>
|
|
|
+ </component>
|
|
|
+
|
|
|
+ <component>
|
|
|
+ <name>HIVE_CLIENT</name>
|
|
|
+ <category>CLIENT</category>
|
|
|
+ <cardinality>0+</cardinality>
|
|
|
+ <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>
|
|
|
+ </configFiles>
|
|
|
+ <configuration-dependencies>
|
|
|
+ <config-type>hive-site</config-type>
|
|
|
+ </configuration-dependencies>
|
|
|
+ </component>
|
|
|
+ <component>
|
|
|
+ <name>HCAT</name>
|
|
|
+ <displayName>HCat</displayName>
|
|
|
+ <category>CLIENT</category>
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/hcat_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>
|
|
|
+ </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>mysql-connector-java</name>
|
|
|
+ </package>
|
|
|
+ </packages>
|
|
|
+ </osSpecific>
|
|
|
+ <osSpecific>
|
|
|
+ <osFamily>redhat5,redhat6,suse11</osFamily>
|
|
|
+ <packages>
|
|
|
+ <package>
|
|
|
+ <name>mysql</name>
|
|
|
+ </package>
|
|
|
+ </packages>
|
|
|
+ </osSpecific>
|
|
|
+ <osSpecific>
|
|
|
+ <osFamily>redhat5,redhat6,ubuntu12</osFamily>
|
|
|
+ <packages>
|
|
|
+ <package>
|
|
|
+ <name>mysql-server</name>
|
|
|
+ </package>
|
|
|
+ </packages>
|
|
|
+ </osSpecific>
|
|
|
+ <osSpecific>
|
|
|
+ <osFamily>suse11</osFamily>
|
|
|
+ <packages>
|
|
|
+ <package>
|
|
|
+ <name>mysql-client</name>
|
|
|
+ </package>
|
|
|
+ </packages>
|
|
|
+ </osSpecific>
|
|
|
+ </osSpecifics>
|
|
|
+
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/service_check.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ <timeout>300</timeout>
|
|
|
+ </commandScript>
|
|
|
+
|
|
|
+ <configuration-dependencies>
|
|
|
+ <config-type>hive-log4j</config-type>
|
|
|
+ <config-type>hive-exec-log4j</config-type>
|
|
|
+ </configuration-dependencies>
|
|
|
+ </service>
|
|
|
+ </services>
|
|
|
+</metainfo>
|