Support Questions

Find answers, ask questions, and share your expertise

Embedded zookeeper failing while setting up a three node cluster

avatar
Explorer

Embedded zookeeper is failing to start while setting up a three node cluster for NIFI.

The error message indicates that there is an issue with starting the embedded Zookeeper server while starting NiFi on your three-node cluster. The specific error causing the problem is "Address already in use," which suggests that the port required by Zookeeper is already occupied by another process. How can I solve this issue?

 

 

1 REPLY 1

avatar

@Fanxxx,

First of all, make sure that nothing is running on the port 2182, as this is the port used by the embedded Zookeeper by default. It could be that you changed it, but my initial feeling is that you left it as it is.

Secondly, make sure that you wrote the correct zookeeper connection string within state-management.xml and within each nifi.properties.