Re: Java21 support for Cassandra

2024-06-17 Thread Steinmaurer, Thomas via user
2c from someone, who oversees a bunch (4-digit ) of Cassandra JVMs out there, 
where especially on-prem customers, in domains with partly very rigid 
requirements in terms of not running a single piece of software in their 
infrastructure, which already reached EOL, not only including Cassandra but 
naturally of course also the Java version used for running Cassandra, perhaps 
also Python etc …

EOL of Java compared to Cassandra ain’t really an issue, cause typically Java 
LTS versions have a much longer EOL as Cassandra. What’s beneficial for 
Cassandra is e.g. performance improvements in newer LTS versions, especially in 
the area of (G1) GC improvements, or perhaps even new GC implementations, like 
Generational ZGC. IMHO the Cassandra project shouldn’t only target new major 
releases for supporting newer Java LTS versions, but also in minor versions to 
indirectly benefit from Java (performance) improvements. E.g. ElasticSearch is 
much more aggressive here, supporting newer Java versions, e.g. the publicly 
available docker image isn’t really using a LTS version. Not saying this is 
good of course, but a modern Java version, at least having an option to run it 
with a newer Java version, e.g. for testing, could be useful.


From: Jon Haddad 
Reply to: "user@cassandra.apache.org" 
Date: Monday, 17. June 2024 at 13:23
To: "user@cassandra.apache.org" 
Subject: Re: Java21 support for Cassandra


[Think Secure - External Message from 
j...@jonhaddad.com<mailto:j...@jonhaddad.com>]


Yes, 5.0 already works with 17 and I’ve been running it almost exclusively in 
my tests.

—
Jon Haddad
Rustyrazorblade Consulting
rustyrazorblade.com<http://rustyrazorblade.com>


On Mon, Jun 17, 2024 at 1:08 PM manish khandelwal 
mailto:manishkhandelwa...@gmail.com>> wrote:
Thans Erick, Jon and Stefan for the responses. So we can target Java17  for 
Cassandra 5.0.

Regards
Manish

On Mon, Jun 17, 2024 at 3:29 PM Jon Haddad 
mailto:j...@jonhaddad.com>> wrote:
Erick, that blanket statement about it “never” going in 5.1 is incorrect. We 
could absolutely add Java 21 support in 5.1 if we wanted to.

—

Jon Haddad
Rustyrazorblade Consulting
rustyrazorblade.com<http://rustyrazorblade.com>


On Mon, Jun 17, 2024 at 11:26 AM Erick Ramirez 
mailto:erickramire...@apache.org>> wrote:
Cassandra 5.0 will only work with Java 11 and 17 (see What's New in 
5.0<https://cassandra.apache.org/doc/5.0/cassandra/new/index.html>). Java 21 is 
not planned until some future major release (we'll call it 6.0 for convenience) 
but never in a minor release so won't be in 5.whatever.

P.S. Ignore the 5.x Fix Version field in 18831. It's just a placeholder for 
tickets being worked on but not yet targeted. Cheers!
This email may contain confidential information. If it appears this message was 
sent to you by mistake, please let us know of the error. In this case, we also 
ask that you do not further forward the content and delete it. Thank you for 
your cooperation and understanding. Dynatrace Austria GmbH (registration number 
FN 91482h) is a company registered in Linz whose registered office is at 4020 
Linz, Austria, Am Fünfundzwanziger Turm 20.


Re: Java21 support for Cassandra

2024-06-17 Thread Jon Haddad
Yes, 5.0 already works with 17 and I’ve been running it almost exclusively
in my tests.

—
Jon Haddad
Rustyrazorblade Consulting
rustyrazorblade.com


On Mon, Jun 17, 2024 at 1:08 PM manish khandelwal <
manishkhandelwa...@gmail.com> wrote:

> Thans Erick, Jon and Stefan for the responses. So we can target Java17
> for Cassandra 5.0.
>
> Regards
> Manish
>
> On Mon, Jun 17, 2024 at 3:29 PM Jon Haddad  wrote:
>
>> Erick, that blanket statement about it “never” going in 5.1 is incorrect.
>> We could absolutely add Java 21 support in 5.1 if we wanted to.
>>
>> —
>>
>> Jon Haddad
>> Rustyrazorblade Consulting
>> rustyrazorblade.com
>>
>>
>> On Mon, Jun 17, 2024 at 11:26 AM Erick Ramirez 
>> wrote:
>>
>>> Cassandra 5.0 will only work with Java 11 and 17 (see What's New in 5.0
>>> ). Java
>>> 21 is not planned until some future major release (we'll call it 6.0 for
>>> convenience) but never in a minor release so won't be in 5.whatever.
>>>
>>> P.S. Ignore the 5.x Fix Version field in 18831. It's just a placeholder
>>> for tickets being worked on but not yet targeted. Cheers!
>>>
>>


Re: Java21 support for Cassandra

2024-06-17 Thread manish khandelwal
Thans Erick, Jon and Stefan for the responses. So we can target Java17  for
Cassandra 5.0.

Regards
Manish

On Mon, Jun 17, 2024 at 3:29 PM Jon Haddad  wrote:

> Erick, that blanket statement about it “never” going in 5.1 is incorrect.
> We could absolutely add Java 21 support in 5.1 if we wanted to.
>
> —
>
> Jon Haddad
> Rustyrazorblade Consulting
> rustyrazorblade.com
>
>
> On Mon, Jun 17, 2024 at 11:26 AM Erick Ramirez 
> wrote:
>
>> Cassandra 5.0 will only work with Java 11 and 17 (see What's New in 5.0
>> ). Java
>> 21 is not planned until some future major release (we'll call it 6.0 for
>> convenience) but never in a minor release so won't be in 5.whatever.
>>
>> P.S. Ignore the 5.x Fix Version field in 18831. It's just a placeholder
>> for tickets being worked on but not yet targeted. Cheers!
>>
>


Re: Java21 support for Cassandra

2024-06-17 Thread Jon Haddad
Erick, that blanket statement about it “never” going in 5.1 is incorrect.
We could absolutely add Java 21 support in 5.1 if we wanted to.

—

Jon Haddad
Rustyrazorblade Consulting
rustyrazorblade.com


On Mon, Jun 17, 2024 at 11:26 AM Erick Ramirez 
wrote:

> Cassandra 5.0 will only work with Java 11 and 17 (see What's New in 5.0
> ). Java 21
> is not planned until some future major release (we'll call it 6.0 for
> convenience) but never in a minor release so won't be in 5.whatever.
>
> P.S. Ignore the 5.x Fix Version field in 18831. It's just a placeholder
> for tickets being worked on but not yet targeted. Cheers!
>


Re: Java21 support for Cassandra

2024-06-17 Thread Erick Ramirez
Cassandra 5.0 will only work with Java 11 and 17 (see What's New in 5.0
). Java 21
is not planned until some future major release (we'll call it 6.0 for
convenience) but never in a minor release so won't be in 5.whatever.

P.S. Ignore the 5.x Fix Version field in 18831. It's just a placeholder for
tickets being worked on but not yet targeted. Cheers!


Re: Java21 support for Cassandra

2024-06-17 Thread manish khandelwal
Thanks Stefan for the response. So the first release of 5.0 wont have Java
21  support. But is there any chance that later releases of Cassandra 5.0
may come with Java21 support.

 I am asking this as we are in the process of updating the JDK version, so
possible options are jdk17 and jdk21. So I wanted to know  if I can expect
Cassandra 5.0 (future releases) to support Java 21 or if Java 21 support
may get parked in another major version of Cassandra.

Regards
Manish

On Mon, Jun 17, 2024 at 2:08 PM Štefan Miklošovič 
wrote:

> Hi,
>
> as far as I know, Java 21 will not be supported by 5.0.0.
>
> Regards
>
> On Mon, Jun 17, 2024 at 6:02 AM manish khandelwal <
> manishkhandelwa...@gmail.com> wrote:
>
>> Hi Team
>>
>> I see this ticket https://issues.apache.org/jira/browse/CASSANDRA-18831
>> which is worked upon for building and running Cassandra 21. Currently it is
>> marked to be resolved with 5.x. Do we see it be released with Cassandra 5.0
>> or it needs to be discussed yet as some comments in JIRA suggested release
>> with Cassandra 6.0?
>>
>> Regards
>> Manish
>>
>


Re: Java21 support for Cassandra

2024-06-17 Thread Štefan Miklošovič
Hi,

as far as I know, Java 21 will not be supported by 5.0.0.

Regards

On Mon, Jun 17, 2024 at 6:02 AM manish khandelwal <
manishkhandelwa...@gmail.com> wrote:

> Hi Team
>
> I see this ticket https://issues.apache.org/jira/browse/CASSANDRA-18831
> which is worked upon for building and running Cassandra 21. Currently it is
> marked to be resolved with 5.x. Do we see it be released with Cassandra 5.0
> or it needs to be discussed yet as some comments in JIRA suggested release
> with Cassandra 6.0?
>
> Regards
> Manish
>


Java21 support for Cassandra

2024-06-16 Thread manish khandelwal
Hi Team

I see this ticket https://issues.apache.org/jira/browse/CASSANDRA-18831
which is worked upon for building and running Cassandra 21. Currently it is
marked to be resolved with 5.x. Do we see it be released with Cassandra 5.0
or it needs to be discussed yet as some comments in JIRA suggested release
with Cassandra 6.0?

Regards
Manish