Created 07-30-2018 05:19 PM
We have processors in process group but some of them are not showing up the start button.
Here I have attached the screen shot.....
Could someone help on this ?
Created 07-30-2018 05:49 PM
When you see the number in the upper-right hand corner, that refers to the fact that even though the processor is "stopped", there are still threads running. You won't be able to edit the configuration or restart it until those threads have stopped (the number and icon will disappear).
Created 07-30-2018 05:49 PM
When you see the number in the upper-right hand corner, that refers to the fact that even though the processor is "stopped", there are still threads running. You won't be able to edit the configuration or restart it until those threads have stopped (the number and icon will disappear).
Created 07-30-2018 07:23 PM
Thanks for quick response @Matt Burgess Its not disappearing since long time.
Is there anyway I could kill the threads forcefully and if not Could you let me know what will be the solution to overcome this ?
Thanks
Jasti.
Created 07-30-2018 08:40 PM
In NiFi 1.7.0 I believe you can right-click on the processor and choose "Terminate threads". If for some reason that doesn't work I think you have to restart the NiFi instance.
Created 07-31-2018 02:02 PM
If the ConsumeKafka processor is hanging (showing active threads but not generating any FlowFiles) every time you use it, there is some issue going on in the connection. Getting a NiFi thread dump and inspecting that thread dump for consumekafka should lead you to a thread that is waiting on something.
-
It may be waiting on some authentication issue with the keytab/principal...
It may be hung with "promptForName" keyboard interactive auth which NiFi can't do...
-
The above us typically an issue seen when the ticket expires and has not be renewed.
-
Thanks,
Matt
Created 07-31-2018 02:35 PM
Most likely your GetFile processor is trying to perform a listing for a very large number of source files? If that is the case, this listing may take a considerable amount of time before FlowFiles even begin to be generated.
-
Stopping a processor only tells the controller to no longer schedule that processor to run. Any currently executing threads will continue to run till completion.
Created 07-31-2018 01:15 PM
@veerendra
If you are using nifi below 1.7, the best way is to restart nifi
Created 07-31-2018 01:32 PM
Yeah as you guys said I did restart the instance it worked but If I stop the processor and start again then same issue.
Should I restart nifi Instance every time whenever processor stops and starts since we are dev phase we have to stop and start the processor ?
Created 07-31-2018 01:45 PM
It should not be the case, what processors you are using and getting the issue?
Created 07-31-2018 02:22 PM
I am using GetFile processor..