Hi Shawn

Unfortunately it is 8.1.1 :-(

The version of Sitecore we are on only supports this version... but I will 
press to get that upgraded...

The thing that has me confused is the Solr doc 
(https://solr.apache.org/guide/solr/latest/deployment-guide/system-requirements.html)
 that refers to Solr 8.x and states "Requires Java 8 or higher" and "This 
version did have continuous testing with Java 9, 10, 11, 12 and the pre-release 
version of Java 13."

My setup (3 nodes Cloud + external 3 ZK servers on Windows SSL) works just fine 
with Java 8 but with Java 11 gives broken pipe errors when posting new docs. 
This is such a basic thing to test that I wonder what "This version did have 
continuous testing with Java 9, 10, 11, 12 and the pre-release version of Java 
13." actually refers to...

Ta! Paul

-----Original Message-----
From: Shawn Heisey <apa...@elyograg.org> 
Sent: 30 June 2022 12:29
To: users@solr.apache.org
Subject: Re: Solr 8.1.1 - OpenJDK 11

On 6/30/22 00:34, Paul Ryder wrote:
> Various docs seem ambiguous on Java version required for Solr 8.1.1
>
> Solr docs says Java 8 or higher and Solr 8.1.1 was continually tested 
> with JDK11
>
> Sitecore docs say use only Java8 for Solr 8.4 or earlier
>
> I'm trying OpenJDK 11 with Solr 8.1.1 - mostly works but in cloud mode 
> I get broken pipe error in inter-node communication under SSL (Windows 
> 10)
>
> What's the definitive recommended version of OpenJDK for Solr 8.1.1?

All versions of Solr 8 require Java 8.  I have used 8.11.x with Java 11 and 17, 
but my setup is not in cloud mode and I have never enabled SSL.

Solr 9 requires Java 11.  At this time there is only one 9.x version available, 
9.0.0.  At this moment my Solr install is version 10.0.0-SNAPSHOT -- built from 
the main branch in git.  I am running that with OpenJDK 11.0.15.

When you say 8.1.1, do you actually mean 8.11.1?  There is an 8.1.1 version, 
but it is over three years old now and upgrading is definitely recommended.  
The most current 8.x version of Solr is 8.11.2.

I strongly recommend that you run the latest OpenJDK 11, and that all of your 
SolrCloud nodes are running the exact same version of Java. Interoperability 
over SSL could be a problem if the nodes are running different versions of Java.

Thanks,
Shawn

Reply via email to