datastax / cdc-apache-cassandra

Datastax CDC for Apache Cassandra
Apache License 2.0
36 stars 22 forks source link

Upgrading cassadra pod from 4.1.5 to 5.0.1 fails with: Error opening zip file or JAR manifest missing : /opt/cassandra/lib/jamm-0.3.2.jar #187

Open Vasile27 opened 1 month ago

Vasile27 commented 1 month ago

Hello,

I have a kubernetes setup with cassandra. The cassandra version is 4.1.5 Casskop version is 2.2.4

I want to upgrade from cassandra 4.1.5 to 5.0.1. I have updated the images in the cassandra casskop CRD. But the cassandra pod does not come up. I see this erros in the logs:

│
│ cassandra OpenJDK 64-Bit Server VM warning: Option UseBiasedLocking was deprecated in version 15.0 and will likely be removed in a future release.                                                                                                                        │
│ cassandra Error opening zip file or JAR manifest missing : /opt/cassandra/lib/jamm-0.3.2.jar                                                                                                                                                                              │
│ cassandra Error occurred during initialization of VM                                                                                                                                                                                                                      │
│ cassandra agent library failed to init: instrument  

It seems that the pod tries to find jamm-0.3.2.jar which is the old library from cassandra 4.1.5.

Can you please help me with information on what I need to do to upgrade cassandra to 5.0.1 in a kubernetes setup with casskop?