Member since
03-06-2018
18
Posts
1
Kudos Received
0
Solutions
01-17-2024
01:15 AM
Hi Matt, good explanation here. Just a quick follow up, is there a way to force sync between the nodes in the cluster. Let's say from the primary node? Thanks in advanced. Greetz, Dave
... View more
01-25-2021
09:29 AM
@vchhipa If you are forced to "terminate" the processor after requesting it to stop, this can mean that you have a stuck or very long running process thread. The "terminate" does not actually kill the thread, it disassociates that JVM thread from the processor and he current FlowFile that thread is associated with. The terminated thread continues to run until it completes (NiFi does request thread to quit/exit when terminating it, but success of that varies since not all process support that ability). Any terminated threads still active will be represented in the processor by a small number in parentheses (1) displayed in its upper right corner. The previously associated FlowFile is left on the inbound connection and will be handled based on queue priority when the consuming processor is started again. If the "terminated" thread should eventually complete, any output/return from that thread including logging is just sent to null. To figure out what is going on when you have a seemingly hung thread is to get a series of NiFi thread dumps: ./nifi.sh dump <dump-filename-nodenum-01.txt> Getting at least 3 dumps at an interval of 2-5 minutes apart is usually good. What you are looking for is a thread associated with your processor class (invokeHTTP in this case) where the same thread number exists in every thread dump collected. Then you will want to luck that the thread stack to see if all are identical. If thread output changes between thread dump outputs, it indicates that thread is not hung but rather just long running. If thread dump output does not change, you'll want to dig in to that output to see what it is waiting on. Hope this helps, Matt
... View more
06-20-2018
10:21 PM
@Sonny Chee As a temporary work around to fix this issue please look into this link.
... View more
12-06-2018
03:01 PM
Is there a way (without using execute script) to modify the processor_group variable in processor?
... View more
09-18-2018
12:48 PM
@Kiran Nittala, @Sonny Chee, What exactly would I need to name the dynamic property to have its content sent as the HTTP status message? Thanks, Lars
... View more
04-02-2018
04:46 PM
Thank you for the clarification.
... View more
03-06-2018
07:09 PM
@Sonny Chee I am assuming you are referring to the H2 Binary DB file nifi-flow-audit.h2.db? In that case, properties coded as sensitive are not persisted to the H2 database. NiFi writes literally " ******** " to the H2 DB for these sensitive property values. Thanks, Matt
... View more