Just to add to this - looks like the only valid replica that is remaining is a TLOG type, and I suspect that is why it no longer has a leader.  Poop.

-Joe


On 7/2/2018 7:54 PM, Joe Obernberger wrote:
Hi - On startup, I'm getting the following error.  The shard had 3 replicas, but none are selected as the leader.  I deleted one, and adding a new one back, but that had no effect, and at times the calls would timeout.  I was having the same issue with another shard on the same collection and deleting/re-adding a replica worked; the shard now has a leader.  This one, I can't seem to get to come up.  Any ideas?

org.apache.solr.common.SolrException: Error getting leader from zk for shard shard6     at org.apache.solr.cloud.ZkController.getLeader(ZkController.java:1223)     at org.apache.solr.cloud.ZkController.register(ZkController.java:1090)     at org.apache.solr.cloud.ZkController.register(ZkController.java:1018)     at org.apache.solr.core.ZkContainer.lambda$registerInZk$0(ZkContainer.java:187)     at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:188)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.solr.common.SolrException: Could not get leader props     at org.apache.solr.cloud.ZkController.getLeaderProps(ZkController.java:1270)     at org.apache.solr.cloud.ZkController.getLeaderProps(ZkController.java:1234)     at org.apache.solr.cloud.ZkController.getLeader(ZkController.java:1190)
    ... 7 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /collections/UNCLASS_30DAYS/leaders/shard6/leader     at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)     at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
    at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1151)
    at org.apache.solr.common.cloud.SolrZkClient.lambda$getData$5(SolrZkClient.java:340)     at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)     at org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:340)     at org.apache.solr.cloud.ZkController.getLeaderProps(ZkController.java:1248)
    ... 9 more


-Joe


Reply via email to