Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-7642

Alerts: Maintenance Mode Should Prevent Alert Notifications

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: alerts, ambari-server
    • Labels:
      None

      Description

      Putting a service or a host into maintenance mode should cause all instances of alerts that would be affected to also go into maintenance mode.

      During this mode, the database is updated to reflect that maintenance mode is on, however alerts still remain scheduled and running on the agents.

      Data that is returned is stored as usual, but no alert state changes are triggered.

        Activity

        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Ambari-trunk-Commit #492 (See https://builds.apache.org/job/Ambari-trunk-Commit/492/)
        AMBARI-7642 - Alerts: Maintenance Mode Should Prevent Alert Notifications (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3e54f95689d7854fc17a31a2734aea080efd7d71)

        • ambari-server/src/main/java/org/apache/ambari/server/events/AlertStateChangeEvent.java
        • ambari-server/src/test/java/org/apache/ambari/server/events/MockEventListener.java
        • ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertsDAOTest.java
        • ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java
        • ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/AmbariEvent.java
        • ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java
        • ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertAggregateListener.java
        • ambari-server/src/test/java/org/apache/ambari/server/state/cluster/AlertDataManagerTest.java
        • ambari-server/src/main/java/org/apache/ambari/server/EagerSingleton.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/MaintenanceModeEvent.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertLifecycleListener.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertReceivedListener.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertMaintenanceModeListener.java
        • ambari-server/src/test/java/org/apache/ambari/server/events/EventsTest.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertServiceStateListener.java
        • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertStateChangedListener.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #492 (See https://builds.apache.org/job/Ambari-trunk-Commit/492/ ) AMBARI-7642 - Alerts: Maintenance Mode Should Prevent Alert Notifications (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3e54f95689d7854fc17a31a2734aea080efd7d71 ) ambari-server/src/main/java/org/apache/ambari/server/events/AlertStateChangeEvent.java ambari-server/src/test/java/org/apache/ambari/server/events/MockEventListener.java ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertsDAOTest.java ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java ambari-server/src/main/java/org/apache/ambari/server/events/AmbariEvent.java ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java ambari-server/src/main/java/org/apache/ambari/server/state/ServiceImpl.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertAggregateListener.java ambari-server/src/test/java/org/apache/ambari/server/state/cluster/AlertDataManagerTest.java ambari-server/src/main/java/org/apache/ambari/server/EagerSingleton.java ambari-server/src/main/java/org/apache/ambari/server/events/MaintenanceModeEvent.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertLifecycleListener.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertReceivedListener.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertMaintenanceModeListener.java ambari-server/src/test/java/org/apache/ambari/server/events/EventsTest.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertServiceStateListener.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertStateChangedListener.java

          People

          • Assignee:
            jonathan.hurley Jonathan Hurley
            Reporter:
            jonathan.hurley Jonathan Hurley
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development