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

HDFS: AutoAddReplica fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.3
    • None
    • Hadoop Integration, hdfs
    • None

    Description

      OverseerAutoReplicaFailoverThread fails to create replacement core with this exception:

      o.a.s.c.OverseerAutoReplicaFailoverThread Exception trying to create new replica on http://...:9000/solr:org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://...:9000/solr: Error CREATEing SolrCore 'test2.collection-09_shard1_replica1': Unable to create core [test2.collection-09_shard1_replica1] Caused by: No shard id for CoreDescriptor[name=test2.collection-09_shard1_replica1;instanceDir=/var/opt/solr/test2.collection-09_shard1_replica1]
      at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:593)
      at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:262)
      at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:251)
      at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)
      at org.apache.solr.cloud.OverseerAutoReplicaFailoverThread.createSolrCore(OverseerAutoReplicaFailoverThread.java:456)
      at org.apache.solr.cloud.OverseerAutoReplicaFailoverThread.lambda$addReplica$0(OverseerAutoReplicaFailoverThread.java:251)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      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)

      also see this mail thread about the issue: https://lists.apache.org/thread.html/%3CCAA70BoWyzbvQuJTyzaG4Kx1tj0Djgcm+MV=x_HoAc1e6CSE7ww@mail.gmail.com%3E

      Attachments

        1. SOLR-10092.patch
          4 kB
          Hendrik Haddorp
        2. SOLR-10092.patch
          3 kB
          Hendrik Haddorp

        Activity

          People

            markrmiller@gmail.com Mark Miller
            HendrikH Hendrik Haddorp
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: