I have a nimbus server and 3 zookeeper nodes.
My storm.yaml file looks like this:
storm.zookeeper.servers:
- "server1"
- "server2"
- "server3"
nimbus.host: "nimbus-server"
storm.local.dir: "/var/storm"
My zoo.cfg files all look like this:
tickTime=2000
initLimit=10
syncLimit=5
dataDir=/var/zookeeper
clientPort=2181
autopurge.snapRetainCount=3
autopurge.purgeInterval=1
server.3=server1:2888:3888
server.4=server2:2888:3888
server.5=server3:2888:3888
When all three zookeeper nodes are running, everything is fine according to the storm_ui. If I shut down one of these three nodes, the nimbus server complains that it can't connect to the zookeeper cluster and it dies. I can't find anywhere why this might be happening. The documentation says that if I have three zookeeper nodes, it should tolerate one of them dying. Is there something that has to be set in one of these for this to work?