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

wf:lastErrorNode does not take into account transient errors with retries

    XMLWordPrintableJSON

    Details

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

      Description

      Suppose you have a workflow where an action fails on the first try, but the automatic retry behavior for transient failures kicks in, and it succeeds on one of the later tries. Currently, the wf:lastErrorNode() EL Function will show that this node failed, even though it ultimately succeeded.

      We should have wf:lastErrorNode() take into account the auto-retries by not setting the last error node until the last retry occurs.

        Attachments

        1. OOZIE-2090.patch
          8 kB
          Robert Kanter
        2. OOZIE-2090.patch
          8 kB
          Robert Kanter

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: