Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2026

fix synchronization in SLACalculatorMemory.addJobStatus to avoid duplicated SLA message

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      Description

      there is case where job generates start event by SLACalculatorMemory.addJobStatus, but before eventProcessed flag updated on DB side, SLA worker thread picks the action (SLACalculatorMemory.updateJobSla), end up sending duplicated messages. this patch is to fix synchronized block in addJobStatus to prevent this.

        Attachments

        1. OOZIE-2016.patch
          2 kB
          Ryota Egashira

          Activity

            People

            • Assignee:
              egashira Ryota Egashira
              Reporter:
              egashira Ryota Egashira
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: