In our system we got Cassandra and Elastic running on java 8 - is it ok, to remove java 8 and install java 11. Does something need to be change later in Cassandra configuration to use Java 11?
(The java repository up to version 8 no longer provides newer versions, and the current one has security vulnerabilities. Cassandra from version 4.0.2 has full compatibility with Java 11 (previously it was experimental))
Hi Piotr,
Elasticsearch supports Java (OpenJDK) 11 from version 6.5.x onwards, and DataMiner relies on Elasticsearch 6.8.x. I think it should be possible, however, I have not tested this so be careful when updating the Jvm. (Keep the old Java version so you can still roll back). Source: Elastic.co. (Click 'Product and JVM')
Cassandra indeed only supports Java 11 from version 4.x onwards, which also no longer supports Windows. This means you can only update the Java version to 11 if your Cassandra database is already running on Linux servers. I'm not sure if this is the case already for your system. If it is, then it should be fine to update to Java 11. I have tested this on Ubuntu already and experienced no issues. If your Cassandra is not yet running on Linux machines, you could consider migrating the database to dedicated Linux servers.
More information can be found here: supported system data storage architectures.
Also, check out this page about securing the DataMiner databases.
I can’t speak for Elasticsearch, but for Cassandra it’s possible that the minimum TLS version is higher (1.2) on Java 11 causing older clients to have problems connecting (DataMiner only supports TLS 1.2 from 10.2.0-CU1/10.2.4 onwards). This will only cause problems if Tls is actually enabled on Cassandra. If that is the case you have two options: upgrade your DataMiner system to a version that supports TLS 1.2 for Cassandra connections or modify the JVM so TLS 1.0/1.1 is allowed again. This page can explain how you can enable older TLS versions again: https://www.petefreitag.com/item/916.cfm
Hi Jens,
thank you
We got clusters running on Linux,
Does Cassandra or Elastic will need any config change after java upgrade?