Hi,

I have a Solr Cloud 7.2.1 setup and used SolrJ (7.2.1) to create 1000 collections with a few documents. During that I got multiple times in the Solr logs exceptions because an access of the /get handler of a collection failed. The call stack looks like this:     at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:607)     at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)     at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)     at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)     at org.apache.solr.handler.component.HttpShardHandler.lambda$submit$0(HttpShardHandler.java:172)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)     at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:188)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)

I did not define a /get request handler but I also don't see one being default in the solrconfig.xml files that come with Solr 7.2.1. Do I need to add that as described in https://www.garysieling.com/blog/fixing-solrj-error-expected-mime-type-applicationoctet-stream-got-texthtml or is there something wrong in Solr? Is Solr doing those /get calls? My program is not doing any, unless SolrJ does them under the covers, and is actually not showing any error.

regards,
Hendrik

Reply via email to