Support Questions

Find answers, ask questions, and share your expertise

In a Nifi-workflow some of the processors are not showing start button ?

avatar
Contributor

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 ?

nifi-error.png

1 ACCEPTED SOLUTION

avatar
Master Guru

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).

View solution in original post

13 REPLIES 13

avatar
Master Guru

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).

avatar
Contributor

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.

avatar
Master Guru

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.

avatar
Master Mentor

@Veerendra Nath Jasthi

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

avatar
Master Mentor

@Veerendra Nath Jasthi

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.

avatar
Expert Contributor

@veerendra

If you are using nifi below 1.7, the best way is to restart nifi

avatar
Contributor

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 ?

avatar
Expert Contributor
@Veerendra Nath Jasthi

It should not be the case, what processors you are using and getting the issue?

avatar
Contributor

I am using GetFile processor..