Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (58 sloc) 3.01 KB
<?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. This service is for &lt;b&gt;Demo purposes only&lt;/b&gt; and is &lt;b&gt;not officially supported&lt;/b&gt;</comment>
<!-- Version of component-->
<version>0.0.1-DEMO</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>redhat6</osFamily>
<packages>
<package><name>wget</name></package>
<package><name>tar</name></package>
<package><name>lsof</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>
You can’t perform that action at this time.