You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Dirk Wintergruen <dw...@mpiwg-berlin.mpg.de> on 2021/04/12 13:45:27 UTC

LeaderElector node exists

Hi all,

in my solr cloud one of the nodes is not connecting anymore I get the error message

"LeaderElector node exists" every second..


The log files says:

2021-04-12 13:43:12.195 INFO  (zkCallback-14-thread-29) [   ] o.a.s.c.OverseerElectionContext I am going to be the leader gmpg-services8.mpiwg-berlin.mpg.de:58989_solr
2021-04-12 13:43:12.230 ERROR (zkCallback-14-thread-29) [   ] 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) ~[?:?]
	at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[?:?]
	at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1734) ~[?:?]
	at org.apache.solr.common.cloud.SolrZkClient.lambda$makePath$10(SolrZkClient.java:542) ~[?:?]
	at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:71) ~[?:?]
	at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:541) ~[?:?]
	at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:485) ~[?:?]
	at org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:472) ~[?:?]
	at org.apache.solr.cloud.OverseerElectionContext.runLeaderProcess(OverseerElectionContext.java:65) ~[?:?]
	at org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:172) ~[?:?]
	at org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:138) ~[?:?]
	at org.apache.solr.cloud.LeaderElector.access$200(LeaderElector.java:58) ~[?:?]
	at org.apache.solr.cloud.LeaderElector$ElectionWatcher.process(LeaderElector.java:350) ~[?:?]
	at org.apache.solr.common.cloud.SolrZkClient$ProcessWatchWithExecutor.lambda$process$1(SolrZkClient.java:892) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_282]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_282]
	at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:218) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_282]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_282]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]


I am not sure if this is connected:

One of my zookeeper crashed before and I had to restart it,  the folder with snapshot.* and log.* where not readable anymore and I had to create a new one.

Any help would be very much appreciated.

Cheers
Dirk


--------------------------------------
--------------------------------------
Dr.-Ing. Dirk Wintergrün

Max-Planck-Institut für Wissenschaftsgeschichte
Max Planck Institute for the History of Science

Department I / Digital and Computational Humanities

Boltzmannstr. 22
14195 Berlin

+49 20 22 66 7108
dwinter@mpiwg-berlin.mpg.de