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

forkjoin validation should not allow a fork to go to the same node multiple times

    XMLWordPrintableJSON

    Details

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

      Description

      The forkjoin validation code should not allow a fork to go to the same node multiple times. For example, this should not be allowed:

      Start -> ForkNode
      ForkNode -> (MR-1, MR-2, MR-2)
      MR-1 -> JoinNode
      MR-2 -> JoinNode
      JoinNode -> End

      We don't normally allow the same node to be executed multiple times because it will have one entry in the DB and the state will get overwritten and cause problems. In this case, the workflow gets stuck RUNNING.

      This should be a fairly trivial update to the forkjoin validation code.

        Attachments

        1. dangling-node.png
          18 kB
          Duc Anh Le
        2. workflow.xml
          6 kB
          Duc Anh Le
        3. OOZIE-1443.patch
          5 kB
          Robert Kanter
        4. OOZIE-1443.patch
          5 kB
          Robert Kanter

          Issue Links

            Activity

              People

              • Assignee:
                rkanter Robert Kanter
                Reporter:
                t-dule Duc Anh Le
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: