The Problem
We use SOLRcloud for SOLR with Zookeeper. While performing my routine development activities, I encountered that my local SOLR instance is giving a weird error as shown in snapshot below -
The Solution
We checked SOLR logs and could see error like below repeating continuously -
2024-11-10 22:31:31.216 ERROR (zkConnectionManagerCallback-7-thread-1-EventThread) [ ] o.a.s.c.LeaderElector node exists => org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /overseer_elect/leader
at org.apache.zookeeper.KeeperException.create(KeeperException.java:126)
org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /overseer_elect/leader
at org.apache.zookeeper.KeeperException.create(KeeperException.java:126) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1538) ~[zookeeper-3.5.5.jar:3.5.5]
We did observe that the certificate for SOLR was expired and may be that is why we were getting the errors in logs.
I followed instructions to remove old certificate and create a new certificate for SOLR based on my previous blog.
After restarting the SOLR service, SOLR came up for me without any issues.
Comments
Post a Comment