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

Alerts: Scan Database For Pending AlertNoticeEntity

    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

      AlertNoticeEntity instances that are in a PENDING state need to be detected and processed. A scheduler should scan the database and detect PENDING notices and then submit them to a dispatcher for processing.

        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-7391 - Alerts: Scan Database For Pending AlertNoticeEntity (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ba325d0831e9816992849490766e511450ef7f3a)

          • ambari-server/pom.xml
          • ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
          • ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java
          • ambari-server/src/main/java/org/apache/ambari/server/state/alert/TargetType.java
          • ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchRunnable.java
          • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertReceivedListener.java
          • ambari-server/src/main/java/org/apache/ambari/server/notifications/Notification.java
          • ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/EmailDispatcher.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertGroupEntity.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertNoticeEntity.java
          • ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchCallback.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAO.java
          • ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertServiceStateListener.java
          • ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDispatchDAOTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java
          • ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
          • ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAOTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java
          • ambari-server/src/main/java/org/apache/ambari/server/notifications/NotificationDispatcher.java
          • ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchFactory.java
          • ambari-server/src/main/java/org/apache/ambari/server/events/publishers/AlertEventPublisher.java
          • ambari-server/src/test/java/org/apache/ambari/server/orm/OrmTestHelper.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-7391 - Alerts: Scan Database For Pending AlertNoticeEntity (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ba325d0831e9816992849490766e511450ef7f3a ) ambari-server/pom.xml ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java ambari-server/src/main/java/org/apache/ambari/server/state/services/AlertNoticeDispatchService.java ambari-server/src/main/java/org/apache/ambari/server/state/alert/TargetType.java ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchRunnable.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertReceivedListener.java ambari-server/src/main/java/org/apache/ambari/server/notifications/Notification.java ambari-server/src/main/java/org/apache/ambari/server/notifications/dispatchers/EmailDispatcher.java ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertGroupEntity.java ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertNoticeEntity.java ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchCallback.java ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAO.java ambari-server/src/main/java/org/apache/ambari/server/events/listeners/AlertServiceStateListener.java ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDispatchDAOTest.java ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAOTest.java ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertCurrentEntity.java ambari-server/src/main/java/org/apache/ambari/server/notifications/NotificationDispatcher.java ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchFactory.java ambari-server/src/main/java/org/apache/ambari/server/events/publishers/AlertEventPublisher.java ambari-server/src/test/java/org/apache/ambari/server/orm/OrmTestHelper.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