Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3.0
-
None
Description
I have a simple Flow where a file containing JSON data is read, and converted to Avro.
However, I have the resulting Avro container file parked in a queue going to a Funnel, and it causes my CPU to spike.
Emptying the queue causes the CPU to return to normal.
It seems that in the 'ContinuallyRunConnectableTask' class, it does correctly determine that the Funnel shouldn't be run, but since there is both a FlowFile in queue, and a relaiton, it also decides to not yield.
I've added both a fix for this (patch to follow), as well as a new unit test to make sure Funnels without outgoing connections get yielded. With the fix, the CPU spiking is gone.
Attachments
Attachments
Issue Links
- links to