123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <?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>
- <services>
- <service>
- <name>AMBARI_METRICS</name>
- <displayName>Ambari Metrics</displayName>
- <version>0.1.0</version>
- <comment>A system for metrics collection that provides storage and retrieval capability for metrics collected from the cluster
- </comment>
- <components>
- <component>
- <name>METRICS_COLLECTOR</name>
- <displayName>Metrics Collector</displayName>
- <category>MASTER</category>
- <cardinality>1+</cardinality>
- <versionAdvertised>false</versionAdvertised>
- <reassignAllowed>true</reassignAllowed>
- <timelineAppid>AMS-HBASE</timelineAppid>
- <recovery_enabled>true</recovery_enabled>
- <dependencies>
- <dependency>
- <name>ZOOKEEPER/ZOOKEEPER_SERVER</name>
- <scope>cluster</scope>
- <auto-deploy>
- <enabled>true</enabled>
- </auto-deploy>
- </dependency>
- </dependencies>
- <commandScript>
- <script>scripts/metrics_collector.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>1200</timeout>
- </commandScript>
- <logs>
- <log>
- <logId>ams_hbase_master</logId>
- </log>
- <log>
- <logId>ams_hbase_regionserver</logId>
- </log>
- <log>
- <logId>ams_collector</logId>
- </log>
- </logs>
- <configuration-dependencies>
- <config-type>ams-site</config-type>
- <config-type>ams-log4j</config-type>
- <config-type>ams-hbase-policy</config-type>
- <config-type>ams-hbase-site</config-type>
- <config-type>ams-hbase-security-site</config-type>
- <config-type>ams-hbase-env</config-type>
- <config-type>ams-hbase-log4j</config-type>
- <config-type>ams-ssl-server</config-type>
- <config-type>ams-ssl-client</config-type>
- </configuration-dependencies>
- </component>
- <component>
- <name>METRICS_MONITOR</name>
- <displayName>Metrics Monitor</displayName>
- <category>SLAVE</category>
- <cardinality>ALL</cardinality>
- <versionAdvertised>false</versionAdvertised>
- <auto-deploy>
- <enabled>true</enabled>
- </auto-deploy>
- <commandScript>
- <script>scripts/metrics_monitor.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>1200</timeout>
- </commandScript>
- </component>
- <component>
- <name>METRICS_GRAFANA</name>
- <displayName>Grafana</displayName>
- <category>MASTER</category>
- <cardinality>0-1</cardinality>
- <versionAdvertised>false</versionAdvertised>
- <commandScript>
- <script>scripts/metrics_grafana.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>1200</timeout>
- </commandScript>
- <configuration-dependencies>
- <config-type>ams-grafana-env</config-type>
- <config-type>ams-grafana-ini</config-type>
- </configuration-dependencies>
- </component>
- </components>
- <osSpecifics>
- <osSpecific>
- <osFamily>redhat7,amazon2015,redhat6,suse11</osFamily>
- <packages>
- <package>
- <name>ambari-metrics-collector</name>
- <skipUpgrade>true</skipUpgrade>
- <condition>should_install_ams_collector</condition>
- </package>
- <package>
- <name>ambari-metrics-monitor</name>
- <skipUpgrade>true</skipUpgrade>
- </package>
- <package>
- <name>ambari-metrics-hadoop-sink</name>
- <skipUpgrade>true</skipUpgrade>
- </package>
- <package>
- <name>ambari-metrics-grafana</name>
- <skipUpgrade>true</skipUpgrade>
- <condition>should_install_ams_grafana</condition>
- </package>
- <package>
- <name>gcc</name>
- </package>
- </packages>
- </osSpecific>
- <osSpecific>
- <osFamily>debian7,ubuntu12,ubuntu14</osFamily>
- <packages>
- <package>
- <name>ambari-metrics-assembly</name>
- <skipUpgrade>true</skipUpgrade>
- </package>
- <package>
- <name>gcc</name>
- </package>
- </packages>
- </osSpecific>
- <osSpecific>
- <osFamily>winsrv6</osFamily>
- <packages>
- <package>
- <name>ambari-metrics-collector</name>
- <skipUpgrade>true</skipUpgrade>
- </package>
- <package>
- <name>ambari-metrics-monitor</name>
- <skipUpgrade>true</skipUpgrade>
- </package>
- <package>
- <name>ambari-metrics-hadoop-sink</name>
- <skipUpgrade>true</skipUpgrade>
- </package>
- </packages>
- </osSpecific>
- </osSpecifics>
- <commandScript>
- <script>scripts/service_check.py</script>
- <scriptType>PYTHON</scriptType>
- <timeout>600</timeout>
- </commandScript>
- <requiredServices>
- <service>ZOOKEEPER</service>
- </requiredServices>
- <configuration-dependencies>
- <config-type>ams-env</config-type>
- </configuration-dependencies>
- <excluded-config-types>
- <config-type>storm-site</config-type>
- </excluded-config-types>
- <quickLinksConfigurations>
- <quickLinksConfiguration>
- <fileName>quicklinks.json</fileName>
- <default>true</default>
- </quickLinksConfiguration>
- </quickLinksConfigurations>
- </service>
- </services>
- </metainfo>
|