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-8430) Current Alerts Should Be Cleaned Up With Ambari Cluster/Service/Component/Host Changes
Date Tue, 25 Nov 2014 22:42:13 GMT

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

Hudson commented on AMBARI-8430:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #1037 (See [https://builds.apache.org/job/Ambari-trunk-Commit/1037/])
AMBARI-8430 - Current Alerts Should Be Cleaned Up With Ambari Cluster/Service/Component/Host
Changes (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=024a301b1673da0c800554c55b28d0e7848bb9d2)
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertHashInvalidationListener.java
* ambari-server/src/main/java/org/apache/ambari/server/events/AmbariEvent.java
* ambari-server/src/main/java/org/apache/ambari/server/events/HostRemovedEvent.java
* ambari-server/src/main/java/org/apache/ambari/server/events/AlertDefinitionDisabledEvent.java
* ambari-agent/src/test/python/ambari_agent/TestHeartbeat.py
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertAggregateListener.java
* ambari-agent/src/test/python/ambari_agent/TestAlerts.py
* ambari-agent/src/main/python/ambari_agent/alerts/collector.py
* ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertDefinitionHashTest.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertMaintenanceModeListener.java
* ambari-server/src/main/java/org/apache/ambari/server/state/Alert.java
* ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClustersImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/events/AlertHashInvalidationEvent.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertLifecycleListener.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertServiceComponentHostListener.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProviderTest.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertLifecycleListener.java
* ambari-server/src/test/java/org/apache/ambari/server/events/EventsTest.java
* ambari-server/src/main/java/org/apache/ambari/server/events/publishers/AmbariEventPublisher.java
* ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionHash.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertMaintenanceModeListener.java
* ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java
* ambari-agent/src/main/python/ambari_agent/HostInfo_win.py
* ambari-server/src/main/java/org/apache/ambari/server/events/HostEvent.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertHostListener.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertStateChangedListener.java
* ambari-server/src/main/java/org/apache/ambari/server/events/ServiceComponentUninstalledEvent.java
* ambari-server/src/test/java/org/apache/ambari/server/events/MockEventListener.java
* ambari-server/src/test/java/org/apache/ambari/server/state/cluster/AlertDataManagerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertAggregateListener.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertEventPublisherTest.java
* ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertStateChangedEventTest.java
* ambari-server/src/main/java/org/apache/ambari/server/events/ServiceRemovedEvent.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertReceivedListener.java
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertsDAOTest.java
* ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertReceivedListenerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertStateChangedListener.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertDefinitionDisabledListener.java
* ambari-agent/src/main/python/ambari_agent/HostInfo_linux.py
* ambari-server/src/main/java/org/apache/ambari/server/events/ServiceComponentInstalledEvent.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertServiceStateListener.java
* ambari-agent/src/test/python/ambari_agent/TestHostInfo.py
* ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertServiceStateListener.java
* ambari-server/src/main/java/org/apache/ambari/server/events/listeners/alerts/AlertReceivedListener.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
* ambari-agent/src/main/python/ambari_agent/Heartbeat.py


> Current Alerts Should Be Cleaned Up With Ambari Cluster/Service/Component/Host Changes
> --------------------------------------------------------------------------------------
>
>                 Key: AMBARI-8430
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8430
>             Project: Ambari
>          Issue Type: Bug
>          Components: alerts, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8430.patch.2
>
>
> When an active alert definition is disabled, instances of that alert definition should
not show up when query the cluster/service/host for alerts. 
> STR:
> 1) Cause an alert to trigger (shut something down)
> 2) Disable the alert definition for that alert
> 3) CRITICAL alert stays in the list of current cluster alerts
> Expected: The API should prevent disabled alerts from being returned.
> Beyond this, the API should also clean up current alerts that are no longer valid. This
includes:
> 1) Alerts that are for hosts which no longer exist
> 2) Alerts that are for a component that is no longer installed on a host
> 3) Alerts for services that are no longer part of the cluster (including the default
group for that service)
> Alerts that are being received should also be verified for validity so that an invalid
alert that was cached by the agent doesn't re-appear.



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

Mime
View raw message