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

Forkjoin validation is slow when there are many actions in chain

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.1.0
    • 5.3.0
    • core

    Description

      In case we have a workflow which has, let's say, 80 actions after each other:
      a1 -> a2 -> ... a80
      then the validator code "never" finishes.

      Currently the validation (in my understanding) does depth first checks from the start node and runs in time of n! . This is confirmed as when we split this huge workflow into two 40-element workflow then we get 2x ~40!-step in validation instead of ~80! steps.

      Guys, could you please confirm or disprove my theory?

      Thanks

      Attachments

        1. OOZIE-3561-003.patch
          27 kB
          Peter Bacsko
        2. OOZIE-3561-002.patch
          26 kB
          Peter Bacsko
        3. OOZIE-3561_001.patch
          23 kB
          Dénes Bodó

        Issue Links

          Activity

            People

              dionusos Dénes Bodó
              dionusos Dénes Bodó
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: