I have this error when i try to acces to my nifi UI
Action cannot be performed because there is currently no Cluster Coordinator elected. The request should be tried again after a moment, after a Cluster Coordinator has been automatically elected.
You should also check that the all the hosts are time synced (NTP should be enabled ) Can you also share the zk/nifi logs
The first thing is to configure the list of the ZK instances in the configuration file /conf/zookeep.properties if your NiFi instances are running in embedded ZK instance, Complete the file with the following properties:
server.1=node-1:2888:3888 server.2=node-2:2888:3888 server.3=node-3:2888:3888
Then, everything happens in the /conf/nifi.properties First, I specify that NiFi must run an embedded ZK instance, with the following property:
I also specify the ZK connect string:
As you can notice, the /conf/zookeeper.properties file has a property named dataDir. By default, this value is set to /state/zookeeper If more than one NiFi node is running an embedded ZK it is important to tell the server which one it is.