Member since
08-09-2018
1
Post
0
Kudos Received
0
Solutions
08-09-2018
09:23 PM
This is a kind of bug of Apache NiFi. I've been noted that when you create a flow that, for some reason, does not return a proper HTTP response for every HTTP request (this is the case in the flow you created), that specific thread got stuck forever (it doesn't timeout). You can force threads to terminate (right clicking on HandleHttpRequest), but this will lead you to a situation where the port insist in being binded by NiFi (you can confirm this by running "netstat" in a terminal). The only way I am aware that un-stuck the binding ports when this happens, is restarting the whole NiFi process. If this is not possible/desirable, you can also change the port that your processor is supposed to listen to. I successful avoided this from happening assuring there is no path that doesn't leads a HandleHttpRequest to a HandleHttpResponse. If you also use restricted components (e.g ExecuteScript), you should also assure your processor does not raise uncatched exceptions.
... View more