forked from abajwa-hw/solr-stack
-
Notifications
You must be signed in to change notification settings - Fork 1
/
metainfo.xml
60 lines (58 loc) · 2.72 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
<?xml version="1.0"?>
<metainfo>
<schemaVersion>2.0</schemaVersion>
<services>
<service>
<!-- Internal name for service (must be unique) -->
<name>SOLR</name>
<!-- display name for service (displayed in Ambari UI) -->
<displayName>Solr</displayName>
<!-- Description of service - will be displayed when user clicks add service -->
<comment>Solr is a search platform from the Apache Lucene project. Its major features include full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling.</comment>
<!-- Version of component-->
<version>6.2.0.2.5</version>
<!-- Any required services -->
<requiredServices>
<service>ZOOKEEPER</service>
</requiredServices>
<components>
<!-- In this case, there is only one master component -->
<component>
<name>SOLR_MASTER</name>
<displayName>Solr</displayName>
<category>MASTER</category>
<!-- how many of these components are allowed in a cluster e.g. 1 or 1+ -->
<cardinality>1+</cardinality>
<!-- reference to and details of what script is to be used to install/stop/start/config the service -->
<commandScript>
<script>scripts/master.py</script>
<scriptType>PYTHON</scriptType>
<timeout>5000</timeout>
</commandScript>
</component>
</components>
<!-- what yum packages will be needed for the setup. These will be installed by install_packages() in master.py -->
<osSpecifics>
<osSpecific>
<osFamily>any</osFamily>
<packages>
<package>
<name>solr_6.2.0.2.5</name>
</package>
</packages>
</osSpecific>
</osSpecifics>
<!-- names for config files (under configuration dir) -->
<configuration-dependencies>
<config-type>solr-config</config-type>
</configuration-dependencies>
<restartRequiredAfterChange>false</restartRequiredAfterChange>
<quickLinksConfigurations>
<quickLinksConfiguration>
<fileName>quicklinks.json</fileName>
<default>true</default>
</quickLinksConfiguration>
</quickLinksConfigurations>
</service>
</services>
</metainfo>