Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Oct 7, 2024 · 2 comments

Comments

@Vasile27
Copy link

Vasile27 commented Oct 7, 2024

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?

@jwistrom
Copy link

jwistrom commented Dec 6, 2024

I experience the same error after upgrading to cassandra 5.0.2 with homebrew on macos. jamm-0.4.0.jar is present in libexec folder. when I manually add jamm-0.3.2.jar startup fails with "NoSuchMethodException"

@kapilgit123
Copy link

I am also facing the same issue. I have done a fresh installation of apache-cassandra 5.0.2.
jamm-0.4.0.jar is present in the lib folder.

Error opening zip file or JAR manifest missing : ./../lib/jamm-0.3.2.jar
JVMJ9TI064E Agent initialization function Agent_OnLoad failed for library instrument, return code -1
JVMJ9VM015W Initialization error for library j9jvmti29(-3): JVMJ9VM009E J9VMDllMain failed

java -version
openjdk version "17.0.10" 2024-01-16
IBM Semeru Runtime Open Edition 17.0.10.0 (build 17.0.10+7)
Eclipse OpenJ9 VM 17.0.10.0 (build openj9-0.43.0, JRE 17 Linux amd64-64-Bit Compressed References 20240116_670 (JIT enabled, AOT enabled)
OpenJ9 - 2c3d78b48
OMR - ea8124dbc
JCL - 2aad089841f based on jdk-17.0.10+7)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants