Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4969

Failed to import versioned flow when processor uses "Event Driven" scheduling

    XMLWordPrintableJSON

    Details

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

      Description

      Create a flow where a processor has scheduling strategy set to event-driven with concurrent tasks set to 0. Start version control on the flow, and them try to import a new process group using the flow from previous step.

      The error is because during import we set the concurrent tasks value before the scheduling strategy, and StandardProcessorNode line 630 throws an exception if the tasks is < 1 and strategy is not event driven.

      The exception also does not report any message so it is hard to figure out what the issue is.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbende Bryan Bende
                Reporter:
                bbende Bryan Bende
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: