forked from Symantec/ambari-cassandra-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metainfo.xml
executable file
·59 lines (58 loc) · 2.18 KB
/
metainfo.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?xml version="1.0"?>
<metainfo>
<schemaVersion>2.0</schemaVersion>
<services>
<service>
<name>Cassandra</name>
<displayName>Cassandra</displayName>
<comment>Distributed database</comment>
<version>3.0.9</version>
<components>
<component>
<name>Cluster-Hosts</name>
<displayName>Cassandra Node</displayName>
<category>SLAVE</category>
<cardinality>1+</cardinality>
<commandScript>
<script>scripts/cassandra_master.py</script>
<scriptType>PYTHON</scriptType>
<timeout>600</timeout>
</commandScript>
</component>
<component>
<name>Cluster_client</name>
<displayName>Cluster Client</displayName>
<category>CLIENT</category>
<cardinality>0+</cardinality>
<commandScript>
<script>scripts/clients.py</script>
<scriptType>PYTHON</scriptType>
<timeout>600</timeout>
</commandScript>
</component>
</components>
<osSpecifics>
<osSpecific>
<osFamily>any</osFamily>
<packages>
<package>
<name>dsc30</name>
</package>
<package>
<name>opscenter</name>
</package>
</packages>
</osSpecific>
</osSpecifics>
<commandScript>
<script>scripts/service_check.py</script>
<scriptType>PYTHON</scriptType>
<timeout>300</timeout>
</commandScript>
<configuration-dependencies>
<config-type>cassandra-env</config-type>
</configuration-dependencies>
<restartRequiredAfterChange>true</restartRequiredAfterChange>
</service>
</services>
</metainfo>