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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.2
    • 4.1.0
    • None
    • 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. workflow.xml
          6 kB
          Duc Anh Le
        2. OOZIE-1443.patch
          5 kB
          Robert Kanter
        3. OOZIE-1443.patch
          5 kB
          Robert Kanter
        4. dangling-node.png
          18 kB
          Duc Anh Le

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: