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

"LAST_ONLY" in execution control for coordinator job still runs all the actions

    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

      In execute() of CoordJobGetReadyActionsJPAExecutor.java, once we retrieve the top item from a "LIFO" query result, we do not discard or delete the remaining items from the result list. As a result, the next time execute() is invoked, we will be retrieving the next item in line. Consequently, LAST_ONLY strategy will also execute all ready actions for a given coordinator job, making it no different than LIFO.

        Attachments

        1. oozie-1319.patch
          9 kB
          Bowen Zhang
        2. OOZIE-1319.patch
          34 kB
          Robert Kanter
        3. OOZIE-1319.patch
          35 kB
          Robert Kanter
        4. OOZIE-1319.patch
          34 kB
          Robert Kanter
        5. OOZIE-1319.patch
          59 kB
          Robert Kanter
        6. OOZIE-1319.patch
          59 kB
          Robert Kanter
        7. OOZIE-1319.patch
          61 kB
          Robert Kanter
        8. OOZIE-1319.patch
          55 kB
          Robert Kanter

          Issue Links

            Activity

              People

              • Assignee:
                rkanter Robert Kanter
                Reporter:
                bowenzhangusa Bowen Zhang
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: