On 4/28/23 09:39, Ritesh Kumar (Accenture International Ltd.) wrote:
We needed to upgrade the Java version due to non-compliance for windows VM.
However after we restarted the VM, the zookeeper windows service is getting
stuck in paused state.
Can you please let me know what needs to be updated at zookeeper so that I can
use the current Java version and start the zookeeper service succesfully.
What Java version did you upgrade to? I wouldn't try to use anything
beyond Java 17. I've seen a number of other projects say very
explicitly in new version announcements that their project has been
updated to work with Java 19 and/or 20, which probably indicates that
there was some kind of issue with Java versions beyond 17.
Java 17 is a little bit faster than Java 11, which is the minimum
version required by Solr 9.x.
I know Solr 9.x and ZK 3.8.1 (which is the version of ZK included with
Solr 9.x) will work with Java 17. I do not have any info about anything
newer than 17.
I would strongly recommend using Linux instead of Windows, especially
given you're running a VM that is presumably dedicated to Solr. Solr
includes a service installer that works in many *NIX operating systems,
and I know for sure it works in Linux.
If you need deeper help with ZK, you will need to ask the ZooKeeper
project for that help. Solr uses ZK, but we are not experts on it.
Thanks,
Shawn