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

Improve error messaging when missing components in flow definition during cluster copy

    XMLWordPrintableJSON

    Details

      Description

      I recently diagnosed an issue where a user copied a flow.xml.gz file from one NiFi instance to another and the destination node failed to start. We determined that the origin node had custom NARs loaded containing components that did not exist on the destination node. The error messaging in the nifi-app.log file was not helpful for determining this issue.

      I propose improving the error message to be much clearer about what is happening and what specific components are missing, and possibly bringing up the UI with "ghosted" components displayed in the UI (and the flow unavailable to be started until that is resolved).

        Attachments

        1. NiFI NAR issues
          5 kB
          Sam Lachterman
        2. nifi-fails-to-start.log
          7 kB
          Sam Lachterman

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alopresto Andy LoPresto
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: