ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-7955) Alerts: Expose the Ability to Create Host-Only Alerts
Date Fri, 24 Oct 2014 21:39:33 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-7955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14183559#comment-14183559
] 

Hudson commented on AMBARI-7955:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #700 (See [https://builds.apache.org/job/Ambari-trunk-Commit/700/])
AMBARI-7955 - Alerts: Expose the Ability to Create Host-Only Alerts (jonathanhurley) (jhurley:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=17b05b23633b8fa055de4b619a1c98ae4145716f)
* ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionFactory.java
* ambari-server/src/main/python/ambari_server/resourceFilesKeeper.py
* ambari-server/src/test/python/TestResourceFilesKeeper.py
* ambari-server/src/main/resources/alerts.json
* ambari-server/src/main/python/ambari-server.py
* ambari-agent/pom.xml
* ambari-agent/src/main/python/ambari_agent/Controller.py
* ambari-agent/src/main/python/ambari_agent/CustomServiceOrchestrator.py
* ambari-agent/src/main/python/ambari_agent/alerts/script_alert.py
* ambari-server/src/main/java/org/apache/ambari/server/metadata/AgentAlertDefinitions.java
* ambari-agent/src/test/python/ambari_agent/TestAlerts.py
* ambari-server/src/main/resources/host_scripts/alert_disk_space.py
* ambari-server/pom.xml
* ambari-agent/src/main/python/ambari_agent/FileCache.py
* ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java
* ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py
* ambari-server/src/test/java/org/apache/ambari/server/metadata/AgentAlertDefinitionsTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/AmbariMetaInfo.java


> Alerts: Expose the Ability to Create Host-Only Alerts
> -----------------------------------------------------
>
>                 Key: AMBARI-7955
>                 URL: https://issues.apache.org/jira/browse/AMBARI-7955
>             Project: Ambari
>          Issue Type: Task
>          Components: alerts, ambari-agent, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-7928.patch
>
>
> Adds "host-only" alerts to the alert framework infrastructure. Alerts that are only for
a host are those that are run on every host in the cluster and are not bound to any particular
stack service. They exist "outside" of the stack.
> In order to accomplish this, several changes were made:
> 1) A new alerts.json was created at the root resources directory to represent host-only
alerts. This file is parsed separately from the stack but its definitions are merged into
the database in the same manner as those from the stack
> 2) These new alerts must be bound to the service AMBARI and component AMBARI_AGENT
> 3) Host alerts are usually custom scripts; a new directory was needed so that resources
could be copied from the Ambari Server to the Agent in the same manner that the stack and
custom_actions resources are copied. This is the new "host_scripts" directory.
> 4) RPM updates to ensure that "host_scripts" is properly packaged.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message