Support Questions

Find answers, ask questions, and share your expertise

nifi acess ui

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.

4 REPLIES 4

Mentor

@ibrahima diattara

Looks like the zookeeper have a split brain decision issue can you restart them?

HTH

@Geoffrey Shelton Okot

thxt for your reponse

I have already restarted the zk but the error comes back after a few minutes

Mentor

@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

@Geoffrey Shelton Okot

Hello ,

i dont use a embedded ZK