jcustenborder / kafka-connect-solr

Kafka Connect connector for writing to Solr.
Apache License 2.0
44 stars 28 forks source link

Invalid version (expected 2, but 60) or the data in not in 'javabin' format :ConcurrentUpdateSolrClient #12

Closed DivyaYash closed 6 years ago

DivyaYash commented 6 years ago

[2017-12-08 13:34:48,710] WARN Failed to parse error response from http://:8983/solr/due to: java.lang.RuntimeException: Invalid version (expected 2, but 60) or the data in not in 'javabin' format (org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient:343) [2017-12-08 13:34:48,710] ERROR error (org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient:540) org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://:8983/solr/: Not Found

DivyaYash commented 6 years ago

Solr server version - 6.6.2

DivyaYash commented 6 years ago

@jcustenborder Please advice.

jcustenborder commented 6 years ago

What version of solr are you using? Looks like it could be a version mismatch.

On Fri, Dec 8, 2017, 8:46 AM DivyaYash notifications@github.com wrote:

@jcustenborder https://github.com/jcustenborder Please advice.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jcustenborder/kafka-connect-solr/issues/12#issuecomment-350266835, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMzgCX0TWp8PMUiBhL_vhzdLW8aVE7oks5s-T3EgaJpZM4Q7HTE .

DivyaYash commented 6 years ago

@jcustenborder Solr server version - 6.6.2

jcustenborder commented 6 years ago

If you are seeing error messages such as Invalid version (expected 2, but 60) or the data in not in 'javabin' format compare the version of the Solr Server against the version of solrj the connector is compiled with. This error message is most likely due to a version mismatch between the server and solrj. To address this try replacing the solr-solrj-*.jar packaged with the connector with the version that matches the Solr server you are connecting to.