[
https://issues.apache.org/jira/browse/SOLR-15134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bernd Wahlen updated SOLR-15134:
--------------------------------
Description:
I updated a our solr cluster of 3 servers today 8.7 -> 8.8 and found the
following difficulties:
1. solrj 8.7 was crashing when trying to connect to solr 8.8 with something
like this:
{code:java}
Caused by: org.apache.solr.client.solrj.SolrServerException:
java.lang.NullPointerException: Cannot invoke "String.endsWith(String)" because
"baseUrl" is null
at
org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:1053)
~[solr-solrj-8.7.0.jar:8.7.0 2dc63e901c60cda27ef3b744bc554f1481b3b067 -
atrisharma - 2020-10-29 19:39:18]
{code}
After upgrade of solrj to 8.8 also, everything is fine.
I mean this is more like a documentation issue. Most of the time solrj and
solrj are compatible up- and down-version.
I read changes:
https://lucene.apache.org/solr/8_8_0/changes/Changes.html#v8.8.0.bug_fixes
*There should be some warning that client library must be upgraded before
server.*
2. when updating servers in a rolling manner, after update of 1 server: only
the 8.8 server is showing all 3 members of the cluster in the web interface.
The 8.7 servers show nothing at all (not even the 2 remaining 8.7 instances).
After upgrading all 3, everything recovered. Is the rolling-upgrade not working
or is that, because i did it in the wrong order?
was:
I updated a our solr cluster of 3 servers today 8.7 -> 8.8 and found the
following difficulties:
1. solrj 8.7 was crashing when trying to connect to solr 8.8 with something
like this:
{code:java}
Caused by: org.apache.solr.client.solrj.SolrServerException:
java.lang.NullPointerException: Cannot invoke "String.endsWith(String)" because
"baseUrl" is null
at
org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:1053)
~[solr-solrj-8.7.0.jar:8.7.0 2dc63e901c60cda27ef3b744bc554f1481b3b067 -
atrisharma - 2020-10-29 19:39:18]
{code}
After upgrade of solrj to 8.8 also, everything is fine.
I mean this is more like a documentation issue. Most of the time solrj and
solrj are compatible up- and down-version.
I read changes:
https://lucene.apache.org/solr/8_8_0/changes/Changes.html#v8.8.0.bug_fixes
*There should be some warning that client library must be upgraded before
server.*
2. when updating servers in a rolling manner, after update of 1 server: only
the 8.8 server is showing all 3 members of the cluster in the web interface.
The 8.7 servers show nothing at all (not even the 2 remaining 8.7 instances).
After upgrading all 3, everything recovered. Is the rolling-upgrade not working
or is that, because i did it in the wrong order.
> Solr upgrade order / documentation
> ----------------------------------
>
> Key: SOLR-15134
> URL: https://issues.apache.org/jira/browse/SOLR-15134
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 8.8
> Reporter: Bernd Wahlen
> Priority: Major
>
> I updated a our solr cluster of 3 servers today 8.7 -> 8.8 and found the
> following difficulties:
> 1. solrj 8.7 was crashing when trying to connect to solr 8.8 with something
> like this:
> {code:java}
> Caused by: org.apache.solr.client.solrj.SolrServerException:
> java.lang.NullPointerException: Cannot invoke "String.endsWith(String)"
> because "baseUrl" is null
> at
> org.apache.solr.client.solrj.impl.BaseCloudSolrClient.requestWithRetryOnStaleState(BaseCloudSolrClient.java:1053)
> ~[solr-solrj-8.7.0.jar:8.7.0 2dc63e901c60cda27ef3b744bc554f1481b3b067 -
> atrisharma - 2020-10-29 19:39:18]
> {code}
> After upgrade of solrj to 8.8 also, everything is fine.
> I mean this is more like a documentation issue. Most of the time solrj and
> solrj are compatible up- and down-version.
> I read changes:
> https://lucene.apache.org/solr/8_8_0/changes/Changes.html#v8.8.0.bug_fixes
> *There should be some warning that client library must be upgraded before
> server.*
> 2. when updating servers in a rolling manner, after update of 1 server: only
> the 8.8 server is showing all 3 members of the cluster in the web interface.
> The 8.7 servers show nothing at all (not even the 2 remaining 8.7 instances).
> After upgrading all 3, everything recovered. Is the rolling-upgrade not
> working or is that, because i did it in the wrong order?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]