From 2b63dc70449ec570c9eddb32eb68d930b7f15ff9 Mon Sep 17 00:00:00 2001 From: Ekaterina Dimitrova Date: Fri, 21 Jan 2022 18:36:08 -0500 Subject: [PATCH] Full support for Java 11; it is not experimental anymore patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-16894 --- CHANGES.txt | 1 + NEWS.txt | 4 ++++ .../cassandra/pages/architecture/overview.adoc | 2 +- .../cassandra/pages/getting_started/installing.adoc | 13 +++++++------ doc/modules/cassandra/pages/new/java11.adoc | 6 ++---- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 1bde0c949a..2bb5f301a5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 4.0.2 + * Full Java 11 support (CASSANDRA-16894) * Remove unused 'geomet' package from cqlsh path (CASSANDRA-17271) * Removed unused 'cql' dependency (CASSANDRA-17247) * Don't block gossip when clearing repair snapshots (CASSANDRA-17168) diff --git a/NEWS.txt b/NEWS.txt index 5460aa2a7b..649f3fda46 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -48,6 +48,10 @@ Upgrading internode_socket_receive_buffer_size_in_bytes. To support upgrades pre-4.0, we add backward compatibility and currently both old and new names should work. Cassandra 4.0.0 and Cassandra 4.0.1 work ONLY with the new names (They weren't updated in cassandra.yaml though). + +New Features +------------ + - Full support for Java 11, it is not experimental anymore. 4.0 === diff --git a/doc/modules/cassandra/pages/architecture/overview.adoc b/doc/modules/cassandra/pages/architecture/overview.adoc index 605e347830..58db6b14ba 100644 --- a/doc/modules/cassandra/pages/architecture/overview.adoc +++ b/doc/modules/cassandra/pages/architecture/overview.adoc @@ -98,4 +98,4 @@ written. Apache Cassandra {40_version} has added several new features including virtual tables, transient replication ({exper}), audit logging, full query logging, and -support for Java 11 ({exper}). +support for Java 11 (full support since 4.0.2 version). diff --git a/doc/modules/cassandra/pages/getting_started/installing.adoc b/doc/modules/cassandra/pages/getting_started/installing.adoc index 4d4ea06ba3..77e1e6525a 100644 --- a/doc/modules/cassandra/pages/getting_started/installing.adoc +++ b/doc/modules/cassandra/pages/getting_started/installing.adoc @@ -14,25 +14,26 @@ limited to): * SUSE Enterprise Linux 12 This is not an exhaustive list of operating system platforms, nor is it -prescriptive. However users will be well-advised to conduct exhaustive +prescriptive. However, users will be well-advised to conduct exhaustive tests of their own particularly for less-popular distributions of Linux. Deploying on older versions is not recommended unless you have previous experience with the older distribution in a production environment. == Prerequisites -* Install the latest version of Java 8, either the +* Install the latest version of Java 8 or Java 11, either the http://www.oracle.com/technetwork/java/javase/downloads/index.html[Oracle -Java Standard Edition 8] or http://openjdk.java.net/[OpenJDK 8]. To +Java Standard Edition 8] / http://www.oracle.com/technetwork/java/javase/downloads/index.html[Oracle Java Standard Edition 11 (Long Term Support)] +or http://openjdk.java.net/[OpenJDK 8] / http://openjdk.java.net/[OpenJDK 11]. To verify that you have the correct version of java installed, type `java -version`. -* *NOTE*: _Experimental_ support for Java 11 was added in Cassandra {40_version} +* *NOTE*: Experimental support for Java 11 was added in Cassandra {40_version} (https://issues.apache.org/jira/browse/CASSANDRA-9608[CASSANDRA-9608]). -Running Cassandra on Java 11 is _experimental_. Do so at your own risk. +Full support is effective Cassandra 4.0.2 version (https://issues.apache.org/jira/browse/CASSANDRA-16894[CASSANDRA-16894]) For more information, see https://github.com/apache/cassandra/blob/trunk/NEWS.txt[NEWS.txt]. * For using cqlsh, the latest version of -https://www.python.org/downloads/[Python 2.7] or Python 3.6+. To verify +Python 3.6+ or Python 2.7 (support deprecated). To verify that you have the correct version of Python installed, type `python --version`. diff --git a/doc/modules/cassandra/pages/new/java11.adoc b/doc/modules/cassandra/pages/new/java11.adoc index f3efc50c1a..a61a57faf9 100644 --- a/doc/modules/cassandra/pages/new/java11.adoc +++ b/doc/modules/cassandra/pages/new/java11.adoc @@ -11,10 +11,8 @@ all non-LTS versions. One of the objectives of the Apache Cassandra 4.0 version is to support the recent LTS Java versions 8 and 11 (https://issues.apache.org/jira/browse/CASSANDRA-9608[CASSANDRA-9608]). -Java 8 and Java 11 may be used to build and run Apache Cassandra 4.0. - -*Note*: Support for JDK 11 in Apache Cassandra 4.0 is an experimental -feature, and not recommended for production use. +Java 8 and Java 11 may be used to build and run Apache Cassandra 4.0. Effective Cassandra +4.0.2 there is full Java 11 support, it is not experimental anymore. == Support Matrix