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

forkjoin validation blocks some valid cases involving decision nodes

    XMLWordPrintableJSON

    Details

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

      Description

      As described here in OOZIE-1035, the new forkjoin checker code is blocking some valid cases involving decision nodes where the decision nodes are inside the forkjoin; when they are outside, its not a problem.

      1) This uses a decision node to "insert" an action based on foo:

      <fork>
         <goto decision>
         <goto join>
      </fork>
      <decision>
         <if foo, goto A>
         <else, goto B>
      </decision>
      <action A>
         <ok to="B">
      </action A>
      <action B>
         <ok to="join">
      </action B>
      <join>
      

      2) This uses a decision node to "replace" an action based on foo:

      <fork>
         <goto decision>
         <goto join>
      </fork>
      <decision>
         <if foo, goto A>
         <else, goto B>
      </decision>
      <action A>
         <ok to="join">
      </action A>
      <action B>
         <ok to="join">
      </action B>
      <join>
      

        Attachments

        1. OOZIE-1403.patch
          18 kB
          Robert Kanter

          Issue Links

            Activity

              People

              • Assignee:
                rkanter Robert Kanter
                Reporter:
                rkanter Robert Kanter
              • Votes:
                2 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: