Details
Description
This ticket is intended to group all issues found to support Java 17 in the future.
Upgrade steps:
- Dependencies 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 on a regular basis with a date of update
March 19th 2023
Failing Test Classes | Ticket Numbers | |
---|---|---|
Python DTests | ||
1 | test_sjk | CASSANDRA-18343 |
Java Ditributed Tests | ||
1-6 | org.apache.cassandra.distributed.test.ReprepareOldBehaviourTest - all tests, org.apache.cassandra.distributed.test.PrepareBatchStatementsTest - all tests, org.apache.cassandra.distributed.test.IPMembershipTest - both tests, org.apache.cassandra.distributed.test.MixedModeFuzzTest, org.apache.cassandra.distributed.test.ReprepareFuzzTest, org.apache.cassandra.distributed.test.ReprepareNewBehaviourTest |
CASSANDRA-16304 |
7,8 | 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 |
9 | org.apache.cassandra.distributed.test.SSTableLoaderEncryptionOptionsTest - 2 tests | CASSANDRA-18180 |
Unit Tests | ||
1 | org.apache.cassandra.repair.RepairJobTest - 1 test | CASSANDRA-17884 |
2 | org.apache.cassandra.security.SSLFactoryTest - all tests | CASSANDRA-17992 |
3,4 | org.apache.cassandra.db.memtable.MemtableSizeOffheapBuffersTest, org.apache.cassandra.utils.concurrent.RefCountedTest |
CASSANDRA-18329 |
5,6 | org.apache.cassandra.cql3.validation.entities.UFJavaTest, org.apache.cassandra.cql3.validation.entities.UFSecurityTest |
CASSANDRA-18190 |
Attachments
Issue Links
- blocks
-
CASSANDRA-17973 Change trunk 4.2 to 5.0
-
- Resolved
-
- is related to
-
CASSANDRA-18233 Modify docs for JDK17 implementation
-
- Triage Needed
-
-
CASSANDRA-17392 Upgrade to netty 4.1.73.Final
-
- Resolved
-
- relates to
-
CASSANDRA-16501 CMS is deprecated
-
- Open
-
-
CASSANDRA-17760 upgrade_tests/upgrade_udtfix_test.py failing in Circle CI for Cassandra 3.0 and 3.11
-
- Resolved
-
-
CASSANDRA-17885 Add solution for CASSANDRA-17581 to older branches for tests
-
- Resolved
-
-
CASSANDRA-16630 Migrate to JUnit5
-
- Open
-
-
CASSANDRA-18263 Update gc settings in build.xml
-
- Open
-
-
CASSANDRA-17887 Further updates needed post CASSANDRA-12883 - removal of non-JavaScript scripted UDFs
-
- Open
-
-
CASSANDRA-17281 Add hooks for the Javascript UDF to enable people to plugin their own implementations of scripted UDFs
-
- In Progress
-
-
CASSANDRA-18133 In-tree build scripts
-
- In Progress
-
-
CASSANDRA-17871 Update debian packages for bullseye
-
- Resolved
-