apache.solr.common.SolrException: Could not register as the leader because creating the ephemeral registration node in ZooKeeper failed

lucene-solr-user | Markus Jelsma | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    4.10.4 - nodes up, shard without leader

    lucene-solr-user | 2 years ago | Markus Jelsma
    apache.solr.common.SolrException: Could not register as the leader because creating the ephemeral registration node in ZooKeeper failed

    Root Cause Analysis

    1. org.apache.solr.common.SolrException

      org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /collections/openi ndex/leaders/shard3

      at org.apache.solr.common.util.RetryUtil.retryOnThrowable()
    2. Apache Solr Solrj
      RetryUtil.retryOnThrowable
      1. org.apache.solr.common.util.RetryUtil.retryOnThrowable(RetryUtil.java:40)
      1 frame
    3. Apache Solr Core
      ShardLeaderElectionContextBase.runLeaderProcess
      1. org.apache.solr.cloud.ShardLeaderElectionContextBase.runLeaderProcess(ElectionContext.java:134)
      1 frame