-
-
Save serba/9b7932f005f34f6cd9a511e226c6f0c6 to your computer and use it in GitHub Desktop.
SolrCloud concurrency bug on collection removal breaking Solr completely
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-05-17T14:47:50,153 - ERROR [OverseerThreadFactory-6-thread-5:SolrException@159] - {} - Collection: my_collection operation: delete failed:org.apache.solr.common.SolrException: Could not fully remove collection: my_collection | |
at org.apache.solr.cloud.DeleteCollectionCmd.call(DeleteCollectionCmd.java:106) | |
at org.apache.solr.cloud.OverseerCollectionMessageHandler.processMessage(OverseerCollectionMessageHandler.java:224) | |
at org.apache.solr.cloud.OverseerTaskProcessor$Runner.run(OverseerTaskProcessor.java:463) | |
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) | |
at java.lang.Thread.run(Thread.java:745) | |
2017-05-17T14:47:50,173 - INFO [qtp11902257-274:HttpSolrCall@732] - {node_name=n:localhost:8983_solr} - [admin] webapp=null path=/admin/collections params={json.nl=map&indent=true&name=my_collection&action=DELETE&wt=json} status=500 QTime=303 | |
2017-05-17T14:47:50,174 - ERROR [qtp11902257-274:SolrException@159] - {node_name=n:localhost:8983_solr} - null:org.apache.solr.common.SolrException: Could not fully remove collection: my_collection | |
at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:298) | |
at org.apache.solr.handler.admin.CollectionsHandler.invokeAction(CollectionsHandler.java:235) | |
at org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:213) | |
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:173) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.apache.solr.common.SolrException: Error loading config name for collection my_collection | |
at org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:198) | |
at org.apache.solr.handler.admin.ClusterStatus.getClusterStatus(ClusterStatus.java:141) | |
at org.apache.solr.handler.admin.CollectionsHandler$CollectionOperation.lambda$static$19(CollectionsHandler.java:649) | |
at org.apache.solr.handler.admin.CollectionsHandler$CollectionOperation.execute(CollectionsHandler.java:888) | |
at org.apache.solr.handler.admin.CollectionsHandler.invokeAction(CollectionsHandler.java:226) | |
at org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:213) | |
... | |
Caused by: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /collections/my_collection | |
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:1155) | |
at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356) | |
at org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353) | |
at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60) | |
at org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353) | |
at org.apache.solr.common.cloud.ZkStateReader.readConfigName(ZkStateReader.java:178) | |
... 35 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment