Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Frequent org.apache.nifi.controller.serialization.FlowSynchronizationException

avatar
Contributor

we have nifi 1.23.2 running in k8s on cluster mode, we have 3 pods.

we have been getting frequent flowSynchroniuzationException from the logs. 

This has been observed in previous versions also

 

cluster due to: org.apache.nifi.controller.serialization.FlowSynchronizationException: Failed to connect node to cluster because local flow controller partially updated. Administrator should disconnect node and review flow for corruption."}
org.apache.nifi.controller.serialization.FlowSynchronizationException: Failed to connect node to cluster because local flow controller partially updated. Administrator should disconnect node and review flow for corruption.
        at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:1059)
        at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:520)
        at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:896)
        at org.apache.nifi.NiFi.<init>(NiFi.java:172)
        at org.apache.nifi.NiFi.<init>(NiFi.java:83)
        at org.apache.nifi.NiFi.main(NiFi.java:332)
Caused by: org.apache.nifi.controller.serialization.FlowSynchronizationException: java.lang.IllegalStateException: A Parameter Context tries to inherit from another Parameter Context [5b8d6cf7-018c-1000-0000-00001849f526] that does not exist
        at org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.synchronizeFlow(VersionedFlowSynchronizer.java:448)
        at org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.sync(VersionedFlowSynchronizer.java:206)
        at org.apache.nifi.controller.serialization.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:42)
        at org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1530)
        at org.apache.nifi.persistence.StandardFlowConfigurationDAO.load(StandardFlowConfigurationDAO.java:104)
        at org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:817)
        at org.apache.nifi.controller.StandardFlowService.loadFromConnectionResponse(StandardFlowService.java:1028)
        ... 5 common frames omitted
Caused by: java.lang.IllegalStateException: A Parameter Context tries to inherit from another Parameter Context [5b8d6cf7-018c-1000-0000-00001849f526] that does not exist
        at org.apache.nifi.controller.flow.AbstractFlowManager.withParameterContextResolution(AbstractFlowManager.java:559)
        at org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.inheritParameterContexts(VersionedFlowSynchronizer.java:687)
        at org.apache.nifi.controller.serialization.VersionedFlowSynchronizer.synchronizeFlow(VersionedFlowSynchronizer.java:387)
        ... 11 common frames omitted

 

 

scoutjohn_1-1702361495584.pngscoutjohn_2-1702361525766.png

pods except for 1 are all going to crash loop, we're unable to execute into the pod and delete the flowfiles. 

What could be the reason for this ?

Please advise how to find the root cause and rectify this.

 

0 REPLIES 0