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

Alert Scheduler Is Double Scheduling Jobs

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-agent
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jonathanhurley Jonathan Hurley Assign to me
            jonathanhurley Jonathan Hurley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment