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

Alert Scheduler Is Double Scheduling Jobs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: ambari-agent
    • Labels:
      None

      Description

      When the Ambari agent starts, the alerts scheduler loads all definitions from the cache definitions.json but doesn't start the scheduler. When the first heartbeat arrives, the jobs are re-added and the scheduler is started.
      However, job reconciliation doesn't happen until after the schedule is started, so there are duplicates of every job scheduled.

        Attachments

        1. AMBARI-10126.patch
          0.9 kB
          Jonathan Hurley

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: