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

Enabled ControllerServices disabled on restart

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 1.0.0, 0.7.0, 1.0.0-Beta
    • Component/s: None
    • Labels:
      None
    • Flags:
      Important

      Description

      As a result of the fix for NIFI-2032, previously enabled ControllerServices become disabled after a restart if they are not referenced by another component. However, we use a custom domain specific langauge that can reference a controller service from a query defined as a custom processor's property. This means that we use a number of controller service that are only used in this way (i.e. are never directly referred to by another component). Upon restart, these are now disabled causing issues with our flows.

      I have not yet stepped through the new enableControllerServices() [1] method to figure out exactly where the issue is coming from, but I wanted to get the ticket out there and on the radar, as this breaks backwards compatibility on a feature we heavily rely on.

      [1] https://github.com/apache/nifi/blob/0.x/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/service/StandardControllerServiceProvider.java#L301-336

        Attachments

          Activity

            People

            • Assignee:
              ozhurakousky Oleg Zhurakousky
              Reporter:
              devriesb Brandon Rhys DeVries

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment