| <?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>TITAN</name> |
| <displayName>Titan</displayName> |
| <comment>Titan is a scalable graph database optimized for storing and querying graphs containing hundreds of |
| billions of vertices and edges distributed across a multi-machine cluster.</comment> |
| <version>1.0.0</version> |
| <components> |
| <component> |
| <name>TITAN_SERVER</name> |
| <displayName>Titan Server</displayName> |
| <category>MASTER</category> |
| <cardinality>1</cardinality> |
| <commandScript> |
| <script>scripts/titan_server.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>yaml</type> |
| <fileName>gremlin-server.yaml</fileName> |
| <dictionaryName>gremlin-server</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| <component> |
| <name>TITAN_CLIENT</name> |
| <displayName>Titan Client</displayName> |
| <category>CLIENT</category> |
| <cardinality>0+</cardinality> |
| <versionAdvertised>true</versionAdvertised> |
| <commandScript> |
| <script>scripts/titan_client.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>env</type> |
| <fileName>titan-env.sh</fileName> |
| <dictionaryName>titan-env</dictionaryName> |
| </configFile> |
| <configFile> |
| <type>env</type> |
| <fileName>log4j-console.properties</fileName> |
| <dictionaryName>titan-log4j</dictionaryName> |
| </configFile> |
| <configFile> |
| <type>env</type> |
| <fileName>titan-hbase-solr.properties</fileName> |
| <dictionaryName>titan-hbase-solr</dictionaryName> |
| </configFile> |
| <configFile> |
| <type>env</type> |
| <fileName>hadoop-gryo.properties</fileName> |
| <dictionaryName>hadoop-gryo</dictionaryName> |
| </configFile> |
| <configFile> |
| <type>env</type> |
| <fileName>hadoop-hbase-read.properties</fileName> |
| <dictionaryName>hadoop-hbase-read</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| </components> |
| <osSpecifics> |
| <osSpecific> |
| <osFamily>any</osFamily> |
| <packages> |
| <package> |
| <name>titan</name> |
| </package> |
| <package> |
| <name>ambari-infra-solr-client-*</name> |
| </package> |
| </packages> |
| </osSpecific> |
| </osSpecifics> |
| |
| <commandScript> |
| <script>scripts/service_check.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>300</timeout> |
| </commandScript> |
| |
| <requiredServices> |
| <service>HDFS</service> |
| <service>HBASE</service> |
| <service>SOLR</service> |
| <service>SPARK2</service> |
| </requiredServices> |
| |
| <configuration-dependencies> |
| <config-type>gremlin-server</config-type> |
| <config-type>titan-env</config-type> |
| <config-type>titan-hbase-solr</config-type> |
| <config-type>titan-log4j</config-type> |
| <config-type>hadoop-gryo</config-type> |
| <config-type>hadoop-hbase-read</config-type> |
| <config-type>knox-env</config-type> |
| </configuration-dependencies> |
| </service> |
| </services> |
| </metainfo> |