Description
If a situation occurs where one of your nodes is unresponsive, and you attempt to offload it, it will be stuck in offloading status for ever until a full (not rolling) restart will occur
This is a serious problem considering if your cluster does not have all it's nodes connected you can't operate/create anything in it, for you to do it will require you to shut down your entire cluster and start it over again
my suggestion for a solution is one of the following:
- offloading timeout: have a property under the nifi.properties file to indicate how long to wait for a node to finish offloading before forcing it to stop and considering it disconnected
- force offload to stop: have an option to force stop the offloading of a node. making it disconnected
I found a hortonworks tread about this same issue
https://community.hortonworks.com/questions/243342/nifi-stuck-offloading-node.html