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> 
      

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 8c1e67e30e071ceed636083532d4598bf6a8791f in lucene-solr's branch refs/heads/master from markrmiller
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8c1e67e ]

        SOLR-10170: ClassCastException in RecoveryStrategy.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 8c1e67e30e071ceed636083532d4598bf6a8791f in lucene-solr's branch refs/heads/master from markrmiller [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=8c1e67e ] SOLR-10170 : ClassCastException in RecoveryStrategy.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 5fe5094c70c250951ae4706af629ef57b403a6bc in lucene-solr's branch refs/heads/branch_6x from markrmiller
        [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5fe5094 ]

        SOLR-10170: ClassCastException in RecoveryStrategy.

        1. Conflicts:
        2. solr/CHANGES.txt
        Show
        jira-bot ASF subversion and git services added a comment - Commit 5fe5094c70c250951ae4706af629ef57b403a6bc in lucene-solr's branch refs/heads/branch_6x from markrmiller [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5fe5094 ] SOLR-10170 : ClassCastException in RecoveryStrategy. Conflicts: solr/CHANGES.txt

          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:

              Development