You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2023/03/19 19:11:00 UTC
[jira] [Updated] (CASSANDRA-16895) Build with Java 17
[ https://issues.apache.org/jira/browse/CASSANDRA-16895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ekaterina Dimitrova updated CASSANDRA-16895:
--------------------------------------------
Description:
This ticket is intended to group all issues found to support Java 17 in the future.
Upgrade steps:
* [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17)
* More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates
* Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL
* All tests to be cleaned
* CI environment to be setup
*NOTE:* GC tuning, performance testing were never agreed to be part of this ticket.
Below is a snapshot of current CI failures with JDK17, it will be updated in time.
|| ||Failing Test Classes||Ticket Numbers||
| |_Python DTests_| |
|1|test_sjk| |
| |_Java Ditributed Tests_| |
|1, 2, 3|org.apache.cassandra.distributed.test.ReprepareOldBehaviourTest - all tests,
org.apache.cassandra.distributed.test.PrepareBatchStatementsTest - all tests,
org.apache.cassandra.distributed.test.IPMembershipTest - both tests|CASSANDRA-16304|
|4, 5|org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest - all tests
org.apache.cassandra.distributed.test.InternodeEncryptionOptionsTest - all tests|Could be related to CASSANDRA-18180, to be checked |
|6|org.apache.cassandra.distributed.test.SSTableLoaderEncryptionOptionsTest - 2 tests| |
| | | |
| | | |
| | | |
was:
This ticket is intended to group all issues found to support Java 17 in the future.
Upgrade steps:
* [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17)
* More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates
* Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL
* All tests to be cleaned
* CI environment to be setup
*NOTE:* GC tuning, performance testing were never agreed to be part of this ticket.
> Build with Java 17
> ------------------
>
> Key: CASSANDRA-16895
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16895
> Project: Cassandra
> Issue Type: Epic
> Components: Build
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 5.x
>
>
> This ticket is intended to group all issues found to support Java 17 in the future.
> Upgrade steps:
> * [Dependencies |https://mvnrepository.com/artifact/org.apache.cassandra/cassandra-all/4.0.1]to be updated (not all but at least those that require an update in order to work with Java 17)
> * More encapsulated JDK internal APIs. Some of the issues might be solved with the dependencies updates
> * Currently trunk compiles if we remove the Nashorn dependency (ant script tag, used for the test environment; UDFs) . The oracle recommendation to use Nashorn-core won't work for the project as it is under GPL 2.0. Most probably we will opt in for graal-sdk licensed under UPL
> * All tests to be cleaned
> * CI environment to be setup
> *NOTE:* GC tuning, performance testing were never agreed to be part of this ticket.
> Below is a snapshot of current CI failures with JDK17, it will be updated in time.
> || ||Failing Test Classes||Ticket Numbers||
> | |_Python DTests_| |
> |1|test_sjk| |
> | |_Java Ditributed Tests_| |
> |1, 2, 3|org.apache.cassandra.distributed.test.ReprepareOldBehaviourTest - all tests,
> org.apache.cassandra.distributed.test.PrepareBatchStatementsTest - all tests,
> org.apache.cassandra.distributed.test.IPMembershipTest - both tests|CASSANDRA-16304|
> |4, 5|org.apache.cassandra.distributed.test.NativeTransportEncryptionOptionsTest - all tests
> org.apache.cassandra.distributed.test.InternodeEncryptionOptionsTest - all tests|Could be related to CASSANDRA-18180, to be checked |
> |6|org.apache.cassandra.distributed.test.SSTableLoaderEncryptionOptionsTest - 2 tests| |
> | | | |
> | | | |
> | | | |
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org