| <?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> |
| <version>1.2.1.2.5</version> |
| <credential-store> |
| <supported>true</supported> |
| <enabled>true</enabled> |
| </credential-store> |
| <components> |
| <component> |
| <name>HIVE_SERVER_INTERACTIVE</name> |
| <displayName>HiveServer2 Interactive</displayName> |
| <category>MASTER</category> |
| <cardinality>0-1</cardinality> |
| <versionAdvertised>true</versionAdvertised> |
| <clientsToUpdateConfigs></clientsToUpdateConfigs> |
| <dependencies> |
| <dependency> |
| <name>ZOOKEEPER/ZOOKEEPER_SERVER</name> |
| <scope>cluster</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| <co-locate>HIVE/HIVE_SERVER_INTERACTIVE</co-locate> |
| </auto-deploy> |
| </dependency> |
| <dependency> |
| <name>YARN/YARN_CLIENT</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| <co-locate>HIVE/HIVE_SERVER_INTERACTIVE</co-locate> |
| </auto-deploy> |
| </dependency> |
| <dependency> |
| <name>HDFS/HDFS_CLIENT</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| <co-locate>HIVE/HIVE_SERVER_INTERACTIVE</co-locate> |
| </auto-deploy> |
| </dependency> |
| <dependency> |
| <name>MAPREDUCE2/MAPREDUCE2_CLIENT</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| <co-locate>HIVE/HIVE_SERVER_INTERACTIVE</co-locate> |
| </auto-deploy> |
| </dependency> |
| <dependency> |
| <name>TEZ/TEZ_CLIENT</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| <co-locate>HIVE/HIVE_SERVER_INTERACTIVE</co-locate> |
| </auto-deploy> |
| </dependency> |
| <dependency> |
| <name>PIG/PIG</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| <co-locate>HIVE/HIVE_SERVER_INTERACTIVE</co-locate> |
| </auto-deploy> |
| </dependency> |
| <dependency> |
| <name>SLIDER/SLIDER</name> |
| <scope>host</scope> |
| <auto-deploy> |
| <enabled>true</enabled> |
| <co-locate>HIVE/HIVE_SERVER_INTERACTIVE</co-locate> |
| </auto-deploy> |
| </dependency> |
| </dependencies> |
| <commandScript> |
| <script>scripts/hive_server_interactive.py</script> |
| <scriptType>PYTHON</scriptType> |
| </commandScript> |
| <customCommands> |
| <customCommand> |
| <name>RESTART_LLAP</name> |
| <commandScript> |
| <script>scripts/hive_server_interactive.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| </customCommand> |
| </customCommands> |
| <configuration-dependencies> |
| <config-type>beeline-log4j2</config-type> |
| <config-type>hive-exec-log4j2</config-type> |
| <config-type>hive-log4j2</config-type> |
| <config-type>hive-site</config-type> |
| <config-type>hive-interactive-site</config-type> |
| <config-type>tez-interactive-site</config-type> |
| <config-type>hiveserver2-interactive-site</config-type> |
| <config-type>hive-interactive-env</config-type> |
| <config-type>llap-cli-log4j2</config-type> |
| <config-type>llap-daemon-log4j</config-type> |
| </configuration-dependencies> |
| </component> |
| </components> |
| <themes> |
| <theme> |
| <fileName>theme.json</fileName> |
| <default>true</default> |
| </theme> |
| </themes> |
| <quickLinksConfigurations> |
| <quickLinksConfiguration> |
| <fileName>quicklinks.json</fileName> |
| <default>true</default> |
| </quickLinksConfiguration> |
| </quickLinksConfigurations> |
| |
| <requiredServices> |
| <service>ZOOKEEPER</service> |
| <service>HDFS</service> |
| <service>YARN</service> |
| <service>TEZ</service> |
| <service>PIG</service> |
| <service>SLIDER</service> |
| </requiredServices> |
| <osSpecifics> |
| <osSpecific> |
| <osFamily>redhat7,amazonlinux2,redhat6,suse11,suse12</osFamily> |
| <packages> |
| <package> |
| <name>hive_${stack_version}</name> |
| </package> |
| <package> |
| <name>hive_${stack_version}-hcatalog</name> |
| </package> |
| <package> |
| <name>hive_${stack_version}-webhcat</name> |
| </package> |
| <package> |
| <name>atlas-metadata_${stack_version}-hive-plugin</name> |
| <condition>should_install_hive_atlas</condition> |
| </package> |
| <package> |
| <name>hive2_${stack_version}</name> |
| </package> |
| <package> |
| <name>tez_hive2_${stack_version}</name> |
| </package> |
| </packages> |
| </osSpecific> |
| <osSpecific> |
| <osFamily>amazonlinux2,redhat6,suse11,suse12</osFamily> |
| <packages> |
| <package> |
| <name>mysql</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_mysql</condition> |
| </package> |
| </packages> |
| </osSpecific> |
| <osSpecific> |
| <osFamily>redhat7,amazonlinux2</osFamily> |
| <packages> |
| <package> |
| <name>mariadb-server</name> |
| <skipUpgrade>true</skipUpgrade> |
| <condition>should_install_mysql</condition> |
| </package> |
| </packages> |
| </osSpecific> |
| <osSpecific> |
| <osFamily>debian7,ubuntu12,ubuntu14,ubuntu16</osFamily> |
| <packages> |
| <package> |
| <name>hive-${stack_version}</name> |
| </package> |
| <package> |
| <name>hive-${stack_version}-hcatalog</name> |
| </package> |
| <package> |
| <name>hive-${stack_version}-webhcat</name> |
| </package> |
| <package> |
| <name>atlas-metadata-${stack_version}-hive-plugin</name> |
| <condition>should_install_hive_atlas</condition> |
| </package> |
| <package> |
| <name>hive2-${stack_version}</name> |
| </package> |
| <package> |
| <name>tez-hive2-${stack_version}</name> |
| </package> |
| </packages> |
| </osSpecific> |
| <osSpecific> |
| <osFamily>amazonlinux2,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>suse11,suse12</osFamily> |
| <packages> |
| <package> |
| <name>mysql-client</name> |
| <skipUpgrade>true</skipUpgrade> |
| </package> |
| </packages> |
| </osSpecific> |
| </osSpecifics> |
| <configuration-dependencies> |
| <config-type>application-properties</config-type> |
| <config-type>hive-atlas-application.properties</config-type> |
| </configuration-dependencies> |
| </service> |
| </services> |
| </metainfo> |