blob: b425aefa1db7d7d3936ddc611222e59ad24bfb94 [file] [log] [blame]
<?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>
<application>
<name>ACCUMULO</name>
<comment>
The Apache Accumulo sorted, distributed key/value store is a robust,
scalable, high performance data storage system that features cell-based
access control and customizable server-side processing. It is based on
Google's BigTable design and is built on top of Apache Hadoop,
Zookeeper, and Thrift.
Requirements:
1. Ensure parent dir for path (accumulo-site/instance.volumes) is accessible to the App owner.
</comment>
<version>${accumulo.version}</version>
<exportGroups>
<exportGroup>
<name>QuickLinks</name>
<exports>
<export>
<name>org.apache.slider.monitor</name>
<value>
${site.global.monitor_protocol}://${ACCUMULO_MONITOR_HOST}:${site.accumulo-site.monitor.port.client}
</value>
</export>
<export>
<name>org.apache.slider.jmx</name>
<value>
${site.global.monitor_protocol}://${ACCUMULO_MONITOR_HOST}:${site.accumulo-site.monitor.port.client}/xml
</value>
</export>
<export>
<name>org.apache.slider.metrics</name>
<value>http://${site.global.metric_collector_host}:${site.global.metric_collector_port}/ws/v1/timeline/metrics</value>
</export>
</exports>
</exportGroup>
</exportGroups>
<commandOrders>
<commandOrder>
<command>ACCUMULO_MASTER-START</command>
<requires>ACCUMULO_MONITOR-INSTALLED</requires>
</commandOrder>
<commandOrder>
<command>ACCUMULO_TSERVER-START</command>
<requires>ACCUMULO_MASTER-STARTED</requires>
</commandOrder>
<commandOrder>
<command>ACCUMULO_MONITOR-START</command>
<requires>ACCUMULO_MASTER-STARTED</requires>
</commandOrder>
<commandOrder>
<command>ACCUMULO_GC-START</command>
<requires>ACCUMULO_MASTER-STARTED</requires>
</commandOrder>
<commandOrder>
<command>ACCUMULO_TRACER-START</command>
<requires>ACCUMULO_MASTER-STARTED</requires>
</commandOrder>
<commandOrder>
<command>ACCUMULO_GC-START</command>
<requires>ACCUMULO_TSERVER-STARTED</requires>
</commandOrder>
<commandOrder>
<command>ACCUMULO_TRACER-START</command>
<requires>ACCUMULO_TSERVER-STARTED</requires>
</commandOrder>
<commandOrder>
<command>ACCUMULO_PROXY-START</command>
<requires>ACCUMULO_TSERVER-STARTED</requires>
</commandOrder>
</commandOrders>
<components>
<component>
<name>ACCUMULO_MASTER</name>
<category>MASTER</category>
<commandScript>
<script>scripts/accumulo_master.py</script>
<scriptType>PYTHON</scriptType>
<timeout>600</timeout>
</commandScript>
</component>
<component>
<name>ACCUMULO_MONITOR</name>
<category>MASTER</category>
<publishConfig>true</publishConfig>
<appExports>QuickLinks-org.apache.slider.jmx,QuickLinks-org.apache.slider.monitor,QuickLinks-org.apache.slider.metrics</appExports>
<commandScript>
<script>scripts/accumulo_monitor.py</script>
<scriptType>PYTHON</scriptType>
<timeout>600</timeout>
</commandScript>
</component>
<component>
<name>ACCUMULO_GC</name>
<category>MASTER</category>
<commandScript>
<script>scripts/accumulo_gc.py</script>
<scriptType>PYTHON</scriptType>
<timeout>600</timeout>
</commandScript>
</component>
<component>
<name>ACCUMULO_TRACER</name>
<category>MASTER</category>
<commandScript>
<script>scripts/accumulo_tracer.py</script>
<scriptType>PYTHON</scriptType>
<timeout>600</timeout>
</commandScript>
</component>
<component>
<name>ACCUMULO_TSERVER</name>
<category>SLAVE</category>
<commandScript>
<script>scripts/accumulo_tserver.py</script>
<scriptType>PYTHON</scriptType>
</commandScript>
</component>
<component>
<name>ACCUMULO_PROXY</name>
<category>SLAVE</category>
<componentExports>
<componentExport>
<name>proxies</name>
<value>${THIS_HOST}:${site.proxy.port}</value>
</componentExport>
</componentExports>
<commandScript>
<script>scripts/accumulo_proxy.py</script>
<scriptType>PYTHON</scriptType>
</commandScript>
</component>
<component>
<name>ACCUMULO_CLIENT</name>
<category>CLIENT</category>
<commandScript>
<script>scripts/accumulo_client.py</script>
<scriptType>PYTHON</scriptType>
</commandScript>
</component>
</components>
<osSpecifics>
<osSpecific>
<osType>any</osType>
<packages>
<package>
<type>tarball</type>
<name>files/accumulo-${accumulo.version}-bin.tar.gz</name>
</package>
</packages>
</osSpecific>
</osSpecifics>
<configFiles>
<configFile>
<type>xml</type>
<fileName>accumulo-site.xml</fileName>
<dictionaryName>accumulo-site</dictionaryName>
</configFile>
<configFile>
<type>env</type>
<fileName>accumulo-env.sh</fileName>
<dictionaryName>accumulo-env</dictionaryName>
</configFile>
<configFile>
<type>properties</type>
<fileName>client.conf</fileName>
<dictionaryName>client</dictionaryName>
</configFile>
<configFile>
<type>properties</type>
<fileName>proxy.properties</fileName>
<dictionaryName>proxy</dictionaryName>
</configFile>
</configFiles>
</application>
</metainfo>