Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-6026

Workflow that throws an exception in initialize never terminates

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5.0, 3.4.3
    • Fix Version/s: 3.5.0, 3.4.4
    • Component/s: Workflow
    • Labels:
    • Release Notes:
      Fixed an issue where the exception thrown in the initialize method of the Workflow was causing Workflow container to not to terminate.
    • Rank:
      1|hzzdbz:

      Description

      I have a workflow that checks its runtime arguments using Preconditions in initialize(). If one of the preconditions fails (that is, a runtime exception is thrown), the exception shows up in the logs, but the workflow never terminates. I see in the Yarn UI that the app master and the workflow driver containers are both still running, many minutes later.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sagar Sagar Kapare
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: