-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cassandra Stress not working on Java 15+ #36
Comments
It is continued separately - see https://mvnrepository.com/artifact/org.openjdk.nashorn/nashorn-core |
what's c-s is doing with this engine ? I don't remember any feature we are using and passing into it javascript... |
@fruch, since this is a Apache Cassandra Codebase (I've remove much of it's source code), there is a possibility in it to define UDFs in Javascript. Thats executed with Nashorn engine, and since |
Why it's hard, if we don't have any functionality in c-s using it directly ? |
I rather invest in taking it out of the code, then invest in replacing the library |
I was thinking the same, removing it would be great if it's possible, replacing the library can be a temporary fix if needed. |
Cause |
It's mentioned only in two files, I think it should be that hard. Anyhow there is no rush for supporting newer java versions |
@CodeLieutenant just for the reference, you were trying using new java version, cause of the work on packaging ? (no one asked for it, if i under correctly) |
It was accidental discovery, I had Java 21 installed on my machine and forgot to change JAVA_HOME to Java 11 to work with c-s. So none asked for it, but still i wanted to have it logged so that we know c-s does not work with >15 Java |
After finishing #37 PR, Debian 12 is not packaging Java 11 in their repositories, Ubuntu 24.04 does, but Debian 12 is not, So this means (unless Java 11 is manually installed), we don't support Debian 12 when building |
Java 15 removed
Nashorn engine
, and due to this,cassandra-stress
is not working on modern Java versionsThe text was updated successfully, but these errors were encountered: