-
Notifications
You must be signed in to change notification settings - Fork 15
/
metainfo.xml
89 lines (87 loc) · 4.14 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0"?>
<metainfo>
<schemaVersion>2.0</schemaVersion>
<services>
<service>
<name>IOTDEMO</name>
<displayName>IoT Demo</displayName>
<comment>IoT Demo to show real time monitoring/alerts and predictions of driving violations generated by fleet of trucks. The service currently requires that it is installed on the Ambari server node and that Kafka and Zookeeper and also running on the same node. HBase and Storm must be available on the cluster and started. Falcon must be stopped before installing this service.This service is for <b>Demo purposes only</b> and is <b>not officially supported</b></comment>
<version>0.0.1-DEMO</version>
<components>
<!-- This service must be installed on same node as Zookeeper and Kafka. HBase and Storm must be available on the cluster and started. Falcon must be stopped before installing this service. -->
<component>
<name>IOTDEMO_MASTER</name>
<displayName>IoT Demo</displayName>
<category>MASTER</category>
<cardinality>1</cardinality>
<dependencies>
<dependency>
<name>KAFKA/KAFKA_BROKER</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
<co-locate>IOTDEMO/IOTDEMO_MASTER</co-locate>
</auto-deploy>
</dependency>
<dependency>
<name>ZOOKEEPER/ZOOKEEPER_SERVER</name>
<scope>host</scope>
<auto-deploy>
<enabled>true</enabled>
<co-locate>IOTDEMO/IOTDEMO_MASTER</co-locate>
</auto-deploy>
</dependency>
<dependency>
<name>HBASE/HBASE_MASTER</name>
<scope>cluster</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
<dependency>
<name>STORM/DRPC_SERVER</name>
<scope>cluster</scope>
<auto-deploy>
<enabled>true</enabled>
</auto-deploy>
</dependency>
</dependencies>
<commandScript>
<script>scripts/master.py</script>
<scriptType>PYTHON</scriptType>
<timeout>5000</timeout>
</commandScript>
</component>
</components>
<osSpecifics>
<osSpecific>
<osFamily>redhat6</osFamily>
<packages>
<package><name>git</name></package>
<package><name>wget</name></package>
<package><name>zip</name></package>
<package><name>tar</name></package>
<package><name>java-1.7.0-openjdk-devel</name></package>
</packages>
</osSpecific>
</osSpecifics>
<requiredServices>
<service>STORM</service>
<service>KAFKA</service>
<service>ZOOKEEPER</service>
<service>HBASE</service>
</requiredServices>
<configuration-dependencies>
<config-type>demo-config</config-type>
<config-type>user-env</config-type>
</configuration-dependencies>
<restartRequiredAfterChange>false</restartRequiredAfterChange>
<quickLinksConfigurations>
<quickLinksConfiguration>
<fileName>quicklinks.json</fileName>
<default>true</default>
</quickLinksConfiguration>
</quickLinksConfigurations>
</service>
</services>
</metainfo>