Mark Bean created NIFI-7231:
-------------------------------

             Summary: NiFi fails to start due to blocking controller service 
validation
                 Key: NIFI-7231
                 URL: https://issues.apache.org/jira/browse/NIFI-7231
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.10.0
            Reporter: Mark Bean
            Assignee: Mark Bean


NiFi will not enable all controller services during startup when there are 
additional referenced controller services within a controller service. 
Specifically, this was observed when the referenced controller services were 
dynamic properties. 
The enabling process correctly enables referenced services first. However, 
during the enabling process, all referencing components are validated. This 
creates a situation where the parent controller service is repeatedly validated 
for every child controller service. And, part of the validation of the parent 
is to validate the child. The circular validation will eventually block; 
controller services are not properly enabled; NiFi does not complete the 
startup process.
The fix is to not validate the parent controller services unless or until all 
child controller services are enabled. Any child service which is not enabled 
(regardless of validation) will cause the parent to be invalid. Repeated 
validation is not required.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to