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

Refactor SLACalculatorMemory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.0.0
    • None
    • core
    • None

    Description

      There are times when SLACalculatorMemory#slaMap, or SLACalculatorMemory#historySet contains stale information causing weird {{Exception}}s like the ones handled by OOZIE-3260.

      Let's refactor SLACalculatorMemory:

      • to have slaMap be consistent w/ basic workflow, coordinator, or bundle entries anytime, meaning in case these haven't been persisted yet or have already been deleted, no SLA update should be performed
      • rework also the public interfaces of SLACalculator not to have slaMap or historySet exposed to outside world
      • modify SLACalculatorMemory to have slaMap and historySet updates in parallel

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andras.piros Andras Piros
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: