Skip to main content
bhagi
Bronze III
Mar 26, 2024 12:05 PM UTC
Solved

Terminated processor thread is not disappearing.

Hi for all!

Does anybody know why terminated processor thread info (up right corner) in red does not disappear after it is terminated, the processor works fine but this red info is not disappearing for 2 weeks. How it is critical and how can I fix this as this red appearance is causing issue and everyone is questioning?

Thanks!

Screenshot in an attached.

bhagi_0-1711454481669.png

 

bbahamondes
Gold ⭐️
Mar 26, 2024 2:53 PM UTC

Hi @bhagi 

This can happen when the processor is terminated but the thread is not finished. When NiFi terminates a processor it does an interrupt, once that happen it should do a graceful shutdown, but it's not guaranteed.

In any case, that shouldn't stop the processor from running again. Please see the following question:

https://community.cloudera.com/t5/Support-Questions/0-active-threads-1-terminated-QueryDatabaseTable-processor/m-p/234682

And the NiFi User guide:

https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#terminating_tasks

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

 

3 replies

cjervis
Community Manager
Community Manager
Mar 26, 2024 2:44 PM UTC

Welcome to the community @bhagi . I'm sure you have already tried this but can you try refreshing the page in case it did not automatically?

Translate
Keep the questions coming
bbahamondes
Gold ⭐️
Gold ⭐️
Mar 26, 2024 2:53 PM UTC

Hi @bhagi 

This can happen when the processor is terminated but the thread is not finished. When NiFi terminates a processor it does an interrupt, once that happen it should do a graceful shutdown, but it's not guaranteed.

In any case, that shouldn't stop the processor from running again. Please see the following question:

https://community.cloudera.com/t5/Support-Questions/0-active-threads-1-terminated-QueryDatabaseTable-processor/m-p/234682

And the NiFi User guide:

https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#terminating_tasks

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

 

Translate
VidyaSargur
Community Manager
Community Manager
Apr 5, 2024 5:40 AM UTC

@bhagi Did the response assist in resolving your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future. 

Translate
Regards, Vidya Sargur Madabhushi| Senior Community Manager | Was your question answered? Make sure to mark the answer as the Best Answer. If you find a reply useful, say thanks by clicking on the thumbs up button.