This appear to be a bug that'll be fixed in 6.1: https://issues.apache.org/jira/browse/SOLR-7729
On Fri, Apr 22, 2016 at 8:07 PM, Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Joe this might be _version_ as in Solr's optimistic concurrency used in > atomic updates, etc > > http://yonik.com/solr/optimistic-concurrency/ > > On Fri, Apr 22, 2016 at 5:24 PM Joe Lawson < > jlaw...@opensourceconnections.com> wrote: > > > I'm updating from a basic Solr Client to the ConcurrentUpdateSolrClient > and > > I'm hitting a really strange error. I cannot share the code but the > snippet > > is like: > > > > try (ConcurrentUpdateSolrClient solrUpdateClient = > > > new ConcurrentUpdateSolrClient(" > > > http://localhost:8983/solr", 1000, 1)) { > > > String _core = "lots"; > > > List<SolrInputDocument> batch = docs.subList(batch_start, > > > batch_end); > > > response = solrUpdateClient.add(_core,batch); > > > solrUpdateClient.commit(_core); > > > ... > > > } > > > > > > > > Once the commit is called I get the following error: > > > > 17:17:22.585 [concurrentUpdateScheduler-1-thread-1-processing-http:// > > //localhost:8983//solr] > > >> WARN o.a.s.c.s.i.ConcurrentUpdateSolrClient - Failed to parse error > > >> response from http://localhost:8983/solr due to: > > >> java.lang.RuntimeException: Invalid version (expected 2, but 60) or > the > > >> data in not in 'javabin' format > > > > > > 17:17:22.588 [concurrentUpdateScheduler-1-thread-1-processing-http:// > > //localhost:8983//solr] > > >> ERROR o.a.s.c.s.i.ConcurrentUpdateSolrClient - error > > > > > > org.apache.solr.common.SolrException: Not Found > > > > > > > > >> > > >> > > >> request: http://localhost:8983/solr/update?wt=javabin&version=2 > > > > > > at > > >> > > > org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.sendUpdateStream(ConcurrentUpdateSolrClient.java:290) > > >> [solr-solrj-6.0.0.jar:6.0.0 48c80f91b8e5cd9b3a9b48e6184bd53e7619e7e3 - > > >> nknize - 2016-04-01 14:41:50] > > > > > > at > > >> > > > org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.run(ConcurrentUpdateSolrClient.java:161) > > >> [solr-solrj-6.0.0.jar:6.0.0 48c80f91b8e5cd9b3a9b48e6184bd53e7619e7e3 - > > >> nknize - 2016-04-01 14:41:50] > > > > > > at > > >> > > > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) > > >> [solr-solrj-6.0.0.jar:6.0.0 48c80f91b8e5cd9b3a9b48e6184bd53e7619e7e3 - > > >> nknize - 2016-04-01 14:41:50] > > > > > > at > > >> > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > > >> ~[na:1.8.0_92] > > > > > > at > > >> > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > > >> ~[na:1.8.0_92] > > > > > > at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_92] > > > > > > > > Any help suggestions is appreciated. > > > > Cheers, > > > > Joe Lawson > > >