|
@@ -0,0 +1,113 @@
|
|
|
+<?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>HBASE</name>
|
|
|
+ <comment>Non-relational distributed database and centralized service for configuration management & synchronization</comment>
|
|
|
+ <version>0.95.2.2.0.6.0</version>
|
|
|
+
|
|
|
+ <components>
|
|
|
+ <component>
|
|
|
+ <name>HBASE_MASTER</name>
|
|
|
+ <category>MASTER</category>
|
|
|
+ <cardinality>1</cardinality>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <name>HDFS/HDFS_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>HBASE/HBASE_MASTER</co-locate>
|
|
|
+ </auto-deploy>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/hbase_master.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ <timeout>600</timeout>
|
|
|
+ </commandScript>
|
|
|
+ <customCommands>
|
|
|
+ <customCommand>
|
|
|
+ <name>DECOMMISSION</name>
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/hbase_master.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ <timeout>600</timeout>
|
|
|
+ </commandScript>
|
|
|
+ </customCommand>
|
|
|
+ </customCommands>
|
|
|
+ </component>
|
|
|
+
|
|
|
+ <component>
|
|
|
+ <name>HBASE_REGIONSERVER</name>
|
|
|
+ <category>SLAVE</category>
|
|
|
+ <cardinality>1+</cardinality>
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/hbase_regionserver.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ </commandScript>
|
|
|
+ </component>
|
|
|
+
|
|
|
+ <component>
|
|
|
+ <name>HBASE_CLIENT</name>
|
|
|
+ <category>CLIENT</category>
|
|
|
+ <cardinality>0+</cardinality>
|
|
|
+ <deleted>true</deleted>
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/hbase_client.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ </commandScript>
|
|
|
+ </component>
|
|
|
+ </components>
|
|
|
+
|
|
|
+ <osSpecifics>
|
|
|
+ <osSpecific>
|
|
|
+ <osFamily>any</osFamily>
|
|
|
+ <packages>
|
|
|
+ <package>
|
|
|
+ <name>hbase</name>
|
|
|
+ </package>
|
|
|
+ </packages>
|
|
|
+ </osSpecific>
|
|
|
+ </osSpecifics>
|
|
|
+
|
|
|
+ <commandScript>
|
|
|
+ <script>scripts/service_check.py</script>
|
|
|
+ <scriptType>PYTHON</scriptType>
|
|
|
+ <timeout>300</timeout>
|
|
|
+ </commandScript>
|
|
|
+
|
|
|
+ <configuration-dependencies>
|
|
|
+ <config-type>global</config-type>
|
|
|
+ <config-type>hbase-policy</config-type>
|
|
|
+ <config-type>hbase-site</config-type>
|
|
|
+ <config-type>hbase-log4j</config-type>
|
|
|
+ </configuration-dependencies>
|
|
|
+
|
|
|
+ </service>
|
|
|
+ </services>
|
|
|
+</metainfo>
|