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

forkjoin validation blocks some valid cases involving decision nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.2
    • 4.1.0
    • None
    • 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

              rkanter Robert Kanter
              rkanter Robert Kanter
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: