[ 
https://issues.apache.org/jira/browse/SOLR-10170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Miller resolved SOLR-10170.
--------------------------------
       Resolution: Fixed
    Fix Version/s: master (7.0)
                   6.5

> ClassCastException in RecoveryStrategy.
> ---------------------------------------
>
>                 Key: SOLR-10170
>                 URL: https://issues.apache.org/jira/browse/SOLR-10170
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 6.5, master (7.0)
>
>
> {noformat}
>    [junit4]   2> 254828 ERROR 
> (recoveryExecutor-213-thread-1-processing-x:collection1_shard1_1_replica0 
> r:core_node7 ffdea33b-ce00-4df9-9993-3ebef8550e0028198988874095 CREATE 
> n:127.0.0.1:43979_ s:shard1_1 c:collection1) [n:127.0.0.1:43979_ 
> c:collection1 s:shard1_1 r:core_node7 x:collection1_shard1_1_replica0] 
> o.a.s.c.RecoveryStrategy Error while trying to recover. 
> core=collection1_shard1_1_replica0:java.lang.ClassCastException: 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException cannot 
> be cast to org.apache.solr.client.solrj.SolrServerException
>    [junit4]   2>      at 
> org.apache.solr.cloud.RecoveryStrategy.sendPrepRecoveryCmd(RecoveryStrategy.java:594)
>    [junit4]   2>      at 
> org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:351)
>    [junit4]   2>      at 
> org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:222)
>    [junit4]   2>      at 
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
>    [junit4]   2>      at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>    [junit4]   2>      at 
> java.util.concurrent.FutureTask.run(FutureTask.java:266)
>    [junit4]   2>      at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>    [junit4]   2>      at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>    [junit4]   2>      at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>    [junit4]   2>      at java.lang.Thread.run(Thread.java:745)
>    [junit4]   2> 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to