| <?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>EAGLE</name> |
| <displayName>Eagle</displayName> |
| <comment>Eagle monitoring framework to secure hadoop platform in realtime</comment> |
| <version>0.0.1</version> |
| <components> |
| <component> |
| <!-- TODO: fix the tricky walk-around in order to make sure components keep in order, as ambari execute components by alphabetical order --> |
| <name>0_EAGLE_SERVICE</name> |
| <displayName>Eagle Server</displayName> |
| <category>MASTER</category> |
| <cardinality>1</cardinality> |
| <versionAdvertised>true</versionAdvertised> |
| <commandScript> |
| <script>scripts/eagle_service.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>conf</type> |
| <fileName>eagle-service.conf</fileName> |
| <dictionaryName>eagle-service</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| |
| <component> |
| <name>EAGLE_DAM_HDFS_TOPOLOGY</name> |
| <displayName>Eagle DAM HDFS</displayName> |
| <category>MASTER</category> |
| <cardinality>1+</cardinality> |
| <versionAdvertised>true</versionAdvertised> |
| <commandScript> |
| <script>scripts/eagle_hdfs_topology.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>conf</type> |
| <fileName>sandbox-hdfsAuditLog-application.conf</fileName> |
| <dictionaryName>hdfsAuditLog</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| |
| <component> |
| <name>EAGLE_DAM_HIVE_TOPOLOGY</name> |
| <displayName>Eagle DAM Hive</displayName> |
| <category>MASTER</category> |
| <cardinality>1+</cardinality> |
| <versionAdvertised>true</versionAdvertised> |
| <commandScript> |
| <script>scripts/eagle_hive_topology.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>conf</type> |
| <fileName>sandbox-hiveQueryLog-application.conf</fileName> |
| <dictionaryName>hiveQueryLog</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| |
| <component> |
| <name>EAGLE_USERPROFILE_TOPOLOGY</name> |
| <displayName>Eagle UserProfile</displayName> |
| <category>MASTER</category> |
| <cardinality>1+</cardinality> |
| <versionAdvertised>true</versionAdvertised> |
| <commandScript> |
| <script>scripts/eagle_userprofile_topology.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>conf</type> |
| <fileName>sandbox-userprofile-application.conf</fileName> |
| <dictionaryName>hiveQueryLog</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| |
| <component> |
| <name>EAGLE_USERPROFILE_DAEMON</name> |
| <displayName>Eagle UserProfile DAEMON</displayName> |
| <category>MASTER</category> |
| <cardinality>1+</cardinality> |
| <versionAdvertised>true</versionAdvertised> |
| <commandScript> |
| <script>scripts/eagle_userprofile_scheduler.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| <configFiles> |
| <configFile> |
| <type>conf</type> |
| <fileName>sandbox-userprofile-scheduler.conf</fileName> |
| <dictionaryName>userprofile</dictionaryName> |
| </configFile> |
| </configFiles> |
| </component> |
| |
| <!--<component>--> |
| <!--<name>EAGLE_AUDIT2KAFKA_CLIENT</name>--> |
| <!--<displayName>Eagle Audit2Kafka Client</displayName>--> |
| <!--<category>CLIENT</category>--> |
| <!--<cardinality>1+</cardinality>--> |
| <!--<commandScript>--> |
| <!--<script>scripts/eagle_audit_kafka.py</script>--> |
| <!--<scriptType>PYTHON</scriptType>--> |
| <!--<timeout>600</timeout>--> |
| <!--</commandScript>--> |
| <!--</component>--> |
| |
| <!-- |
| <component> |
| <name>EAGLE_CLIENT</name> |
| <displayName>Eagle Client</displayName> |
| <category>CLIENT</category> |
| <cardinality>1+</cardinality> |
| <commandScript> |
| <script>scripts/eagle_client.py</script> |
| <scriptType>PYTHON</scriptType> |
| <timeout>600</timeout> |
| </commandScript> |
| </component> |
| --> |
| </components> |
| |
| <osSpecifics> |
| <osSpecific> |
| <osFamily>any</osFamily> |
| <!-- note: use osType rather than osFamily for Ambari 1.5.0 and 1.5.1 --> |
| <packages> |
| <package> |
| <name>eagle</name> |
| </package> |
| </packages> |
| </osSpecific> |
| |
| </osSpecifics> |
| <requiredServices> |
| <service>HBASE</service> |
| <service>STORM</service> |
| <service>KAFKA</service> |
| </requiredServices> |
| <configuration-dependencies> |
| <config-type>eagle-service</config-type> |
| <config-type>data-process-runtime</config-type> |
| </configuration-dependencies> |
| |
| </service> |
| </services> |
| </metainfo> |