You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/03/24 20:06:55 UTC
[jira] [Resolved] (SOLR-7294) Migrate API fails with: Invalid
status request: notfoundretried 6times
[ https://issues.apache.org/jira/browse/SOLR-7294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-7294.
-----------------------------------------
Resolution: Fixed
> Migrate API fails with: Invalid status request: notfoundretried 6times
> ----------------------------------------------------------------------
>
> Key: SOLR-7294
> URL: https://issues.apache.org/jira/browse/SOLR-7294
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.10.4, 5.0
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: Trunk, 5.1
>
> Attachments: SOLR-7294.patch, SOLR-7294.patch, source-leader.log, target.log
>
>
> Steps to reproduce:
> # Create a two node cluster
> # Create a collection called "source" with 1 shard, 1 replica
> # Add 1000 docs with prefix a!
> # Add 100 docs with prefix b! and c! each
> # Create a new target collection with 1 shard, 1 replica and ensure that it is created on a different node than "source"
> # Issue a migrate API call with an async parameter:
> {code}
> http://localhost:8983/solr/admin/collections?action=migrate&split.key=a!&collection=gettingstarted&target.collection=target&wt=json&async=acid
> {code}
> The above fails with:
> {code}
> ERROR - 2015-03-23 22:50:11.349; org.apache.solr.common.SolrException; Collection: gettingstarted operation: migrate failed:org.apache.solr.common.SolrException: Invalid status request: notfoundretried 6times
> at org.apache.solr.cloud.OverseerCollectionProcessor.waitForCoreAdminAsyncCallToComplete(OverseerCollectionProcessor.java:2807)
> at org.apache.solr.cloud.OverseerCollectionProcessor.waitForAsyncCallsToComplete(OverseerCollectionProcessor.java:2753)
> at org.apache.solr.cloud.OverseerCollectionProcessor.completeAsyncRequest(OverseerCollectionProcessor.java:2229)
> at org.apache.solr.cloud.OverseerCollectionProcessor.migrateKey(OverseerCollectionProcessor.java:2200)
> at org.apache.solr.cloud.OverseerCollectionProcessor.migrate(OverseerCollectionProcessor.java:1984)
> at org.apache.solr.cloud.OverseerCollectionProcessor.processMessage(OverseerCollectionProcessor.java:637)
> at org.apache.solr.cloud.OverseerCollectionProcessor$Runner.run(OverseerCollectionProcessor.java:2864)
> 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)
> {code}
> Thanks to [~mewmewball] for finding this bug.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org