Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

Need to Remove one node from nifi cluster


I want to remove a node from cluster and inside the cluster all node's need to updated with removed node ,

example :   i have a cluster with 4 nodes 

node -1 , 2 [ Primary ], 3 , 4 

i want to remove node -3 from cluster , and it should be updated automatically in [ authorizers.xml ] to remaining working  nodes. 


please help its bit urgent 



hi @Sivagopal,

As far as I know, what you are asking is not possible directly from within NiFi.
To remove the node from the cluster you have two options:
- the manual remove, done from the Menu - Cluster - Nodes --> disconnect Node. ( see

- the NiFi's REST API. For that you will need to use the Controller commands, select the DELETE option and perform the call --> /controller/cluster/nodes/{id}. (see --> Controller Section / DELETE)


As for the update in authorizers.xml, you will need to write a script which will perform this action, while NiFi is down. As far as I know, these XML Files get initialized when NiFi starts so even though you perform some actions while NiFi is up and running, these changes will not get taken into considerations. Take note that if you are using the embedded zookeeper, you will have to modify the file as well. In addition to these files, you have to take a look to state-management.xml as well.