Created 08-14-2018 08:29 AM
Hello ,
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.
Created 08-14-2018 09:27 AM
Looks like the zookeeper have a split brain decision issue can you restart them?
HTH
Created 08-14-2018 09:47 AM
thxt for your reponse
I have already restarted the zk but the error comes back after a few minutes
Created 08-14-2018 10:53 AM
@ibrahima diattara
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:
nifi.state.management.embedded.zookeeper.start=true
I also specify the ZK connect string:
nifi.zookeeper.connect.string=node-1:2181,node-2:2181,node-3:2181
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.
HTH
Created 08-16-2018 08:03 AM