Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10170

ClassCastException in RecoveryStrategy.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.5, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

         [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> 
      

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              markrmiller@gmail.com Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: