lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Obernberger <joseph.obernber...@gmail.com>
Subject FORCELEADER not working - solr 6.6.1
Date Wed, 22 Nov 2017 00:55:18 GMT
Hi All - sorry for the repeat, but I'm at a complete loss on this.  I 
have a collection with 100 shards and 3 replicas each.  6 of the shard 
will not elect a leader.  I've tried the FORCELEADER command, but 
nothing changes.

The log shows 'Force leader attempt 1.  Waiting 5 secs for an active 
leader'  It tries 9 times, and then stops.

The error that I get for a shard in question is:

org.apache.solr.common.SolrException: Error getting leader from zk for 
shard shard21
     at org.apache.solr.cloud.ZkController.getLeader(ZkController.java:996)
     at org.apache.solr.cloud.ZkController.register(ZkController.java:902)
     at org.apache.solr.cloud.ZkController.register(ZkController.java:846)
     at 
org.apache.solr.core.ZkContainer.lambda$registerInZk$0(ZkContainer.java:181)
     at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
     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:1043)
     at 
org.apache.solr.cloud.ZkController.getLeaderProps(ZkController.java:1007)
     at org.apache.solr.cloud.ZkController.getLeader(ZkController.java:963)
     ... 7 more
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: 
KeeperErrorCode = NoNode for /collections/UNCLASS/leaders/shard21/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$7.execute(SolrZkClient.java:357)
     at 
org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:354)
     at 
org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
     at 
org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:354)
     at 
org.apache.solr.cloud.ZkController.getLeaderProps(ZkController.java:1021)
     ... 9 more

Please help.  Thank you!

-Joe


Mime
View raw message