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

Alerts: Reschedule Individual Alerts on Agents

    Details

      Description

      In addition to the global UUID, each AlertDefinition should be sent down to the agents with its own UUID in order to reschedule only those individual definitions that changed.

      Once receiving the updated definitions, only those definitions with UUID changes should be rescheduled.

        Issue Links

          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-7508 - Alerts: Reschedule Individual Alerts on Agents (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7db82c923c2903a2e2fab3d302fb9337423da08b)

          • ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionFactory.java
          • ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProviderTest.java
          • ambari-agent/src/test/python/ambari_agent/TestAlerts.py
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProvider.java
          • ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py
          • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertReceivedListener.java
          • ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionHash.java
          • ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertDefinitionEqualityTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertGroupEntity.java
          • ambari-agent/src/test/python/ambari_agent/dummy_files/definitions.json
          • ambari-agent/src/main/python/ambari_agent/alerts/collector.py
          • ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java
          • ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinition.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAO.java
          • ambari-server/src/test/java/org/apache/ambari/server/state/cluster/AlertDataManagerTest.java
          • ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertStateChangedEventTest.java
          • ambari-project/pom.xml
          • ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java
          • ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAOTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertLifecycleListener.java
          • ambari-server/pom.xml
          • ambari-server/src/main/java/org/apache/ambari/server/state/alert/AggregateDefinitionMapping.java
          • ambari-server/src/main/java/org/apache/ambari/server/events/AlertDefinitionDeleteEvent.java
          • ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertEventPublisherTest.java
          • ambari-agent/src/main/python/ambari_agent/alerts/base_alert.py
          • ambari-server/src/main/java/org/apache/ambari/server/events/AmbariEvent.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-7508 - Alerts: Reschedule Individual Alerts on Agents (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7db82c923c2903a2e2fab3d302fb9337423da08b ) ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionFactory.java ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProviderTest.java ambari-agent/src/test/python/ambari_agent/TestAlerts.py ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProvider.java ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertReceivedListener.java ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionHash.java ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertDefinitionEqualityTest.java ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertGroupEntity.java ambari-agent/src/test/python/ambari_agent/dummy_files/definitions.json ambari-agent/src/main/python/ambari_agent/alerts/collector.py ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertsDAO.java ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinition.java ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAO.java ambari-server/src/test/java/org/apache/ambari/server/state/cluster/AlertDataManagerTest.java ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertStateChangedEventTest.java ambari-project/pom.xml ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAOTest.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertLifecycleListener.java ambari-server/pom.xml ambari-server/src/main/java/org/apache/ambari/server/state/alert/AggregateDefinitionMapping.java ambari-server/src/main/java/org/apache/ambari/server/events/AlertDefinitionDeleteEvent.java ambari-server/src/test/java/org/apache/ambari/server/state/alerts/AlertEventPublisherTest.java ambari-agent/src/main/python/ambari_agent/alerts/base_alert.py ambari-server/src/main/java/org/apache/ambari/server/events/AmbariEvent.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