On 7/11/2015 9:33 PM, Tarala, Magesh wrote: > I'm using 4.10.2 in a 3 node solr cloud setup > I have a collection with 3 shards and 2 replicas each. > I'm ingesting solr documents via solrj. > > While ingesting the documents, I get the following error: > > 264147944 [updateExecutor-1-thread-268] ERROR > org.apache.solr.update.StreamingSolrServers ? error > org.apache.solr.common.SolrException: Bad Request > > request: > http://10.222.238.35:8983/solr/serviceorder_shard1_replica2/update?update.distrib=TOLEADER&distrib.from=http%3A%2F%2F10.222.238.36%3A8983%2Fsolr%2Fserviceorder_shard2_replica1%2F&wt=javabin&version=2 > at > org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer$Runner.run(ConcurrentUpdateSolrServer.java:241) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > I commit after every 100 documents in solrj. > And I also have the following solrconfig.xml setting: > <autoCommit> > <maxTime>${solr.autoCommit.maxTime:15000}</maxTime> > <openSearcher>false</openSearcher> > </autoCommit>
Is that the entire error, or is there additional error information? Do you have any way to know exactly what is in that request that's throwing the error? You said 4.10.2 ... is this the Solr or SolrJ version? Are both of them the same version? Are you running Solr in the included jetty, or have you installed it into another servlet container? What Java vendor and version are you running, and is it 64-bit? Can you share your SolrJ code, solrconfig, schema, and any other information you can think of that might be relevant? Because the error is from a request, I doubt that autoCommit has anything to do with the problem, but I could be wrong about that. Thanks, Shawn