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

Changing the JT whitelist causes running Workflows to stay RUNNING forever

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: core
    • Labels:
      None

      Description

      If you change the JT whitelist while a workflow is running (and restart Oozie), that workflow will stay RUNNING forever. The correct behavior should be the same as if the JT is unavailable: Oozie retries a few times and SUSPENDs the workflow. Then the user should either put it back into the whitelist and resume, or simply kill it.

      There might be multiple ways to reproduce, but here's one:

      1. Submit a workflow that has enough actions to run for a while
      2. Suspend the workflow
      3. Change the JT whitelist
      4. Restart Oozie
      5. Resume the workflow
        You'll get errors about the whitelist, but it won't ever transition out of RUNNING

        Attachments

        1. OOZIE-2142.patch
          6 kB
          Robert Kanter
        2. OOZIE-2142.002.patch
          6 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: