You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing in issue trying to run the connector in Standard Solr mode, where the ingestion of documents from the topic fails because the solr update URL that is being created is not correct.
pipelinesetup-connect-1 | [2022-10-24 06:55:37,850] WARN Failed to parse error response from http://indexer:8983 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)
pipelinesetup-connect-1 | [2022-10-24 06:55:37,850] ERROR error (org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient)
pipelinesetup-connect-1 | org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://indexer:8983: Not Found
pipelinesetup-connect-1 |
pipelinesetup-connect-1 |
pipelinesetup-connect-1 |
pipelinesetup-connect-1 | request: http://indexer:8983/update?wt=javabin&version=2
pipelinesetup-connect-1 | at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.sendUpdateStream(ConcurrentUpdateSolrClient.java:385)
pipelinesetup-connect-1 | at org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner.run(ConcurrentUpdateSolrClient.java:183)
pipelinesetup-connect-1 | at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
pipelinesetup-connect-1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
pipelinesetup-connect-1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
pipelinesetup-connect-1 | at java.lang.Thread.run(Thread.java:748)
As you can see the Solr URL generated is http://indexer:8983/update but it should be http://indexer:8983/solr/authors/update
The connector works if I change the solr.url in the config to
"solr.url" : "http://indexer:8983/solr/authors",
This however will force the user to create one connector per topic.
To further make sense of the error stacktrace, especially Invalid version (expected 2, but 60) or the data in not in 'javabin' format
Which is mentioned in the README as being caused due to version mismatch, is being caused here because when we hit the malformed URL, we get
I am facing in issue trying to run the connector in Standard Solr mode, where the ingestion of documents from the topic fails because the solr update URL that is being created is not correct.
With the below configuration of the connector -
I get the following error trace
As you can see the Solr URL generated is
http://indexer:8983/update
but it should behttp://indexer:8983/solr/authors/update
The connector works if I change the
solr.url
in the config toThis however will force the user to create one connector per topic.
To further make sense of the error stacktrace, especially
Invalid version (expected 2, but 60) or the data in not in 'javabin' format
Which is mentioned in the README as being caused due to version mismatch, is being caused here because when we hit the malformed URL, we get
Here the first
<
has the ASCII value 60, which probably explains the error.I am using Solr version 8.2.0 and my SolrJ version is the same too.
The text was updated successfully, but these errors were encountered: