Member since
11-03-2023
3
Posts
0
Kudos Received
0
Solutions
11-07-2023
12:11 AM
Thanks a lot! @cotopaul Solution 1 worked in our case. We stopped our processors and emptied queues, after that moving the connection from center funnel to the new processor helped us to remove other funnels. To answer your question, why the infinite loop ? it was effect of blunder - when I was working with the funnels weren't located so sparsely, so I didn't see that the connection I'm going to make and created a loop
... View more
11-04-2023
01:37 PM
Thanks @DianaTorres for tagging Nifi experts! I thought of providing more inputs would help. When we came to know about the issue, one of the cluster nodes was disconnected from cluster. After a restart on cluster and emptying data in queue, all cluster operations are normal. I was able to add and delete processors with out any issue. When we are trying to delete a funnel from infinite loop, it is that specific node which was down not able to fullfill the request. I even tried deleting flow.xml.gz & flow.json.gz from the node, but it couldn't solve the issue.
... View more
11-03-2023
08:57 AM
We have 3 node apache nifi cluster, built on same versions of nifi i.e Apache nifi 1-.16.0 and Open JDK 11. When trying to delete a funnel from below loop, one of the node gives an error on UI "###### node is is unable to fulfill this request due to: An unexpected error has occurred. Please check the logs for additional details." Nifi infinite loop Enabled debug logs to see more details and unfortunately it ended up in java.lang.StackOverflow error from the below logs. Seems like flow ended in weird state. We tried deleting work directories on cluster and restarting cluster. It din't help though ERROR [NiFi Web Server-34943] o.a.nifi.web.api.config.ThrowableMapper An unexpected error has occurred: java.lang.StackOverflowError: Delayed StackOverflowError due to ReservedStackAccess annotated method. R eturning Internal Server Error response. 91796 java.lang.StackOverflowError: Delayed StackOverflowError due to ReservedStackAccess annotated method 91797 at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1382) 91798 at java.base/java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:897) 91799 at org.apache.nifi.controller.StandardFunnel.getIncomingConnections(StandardFunnel.java:268)
... View more
Labels:
- Labels:
-
Apache NiFi