mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-30 03:30:49 +00:00
This patch fixes cql-pytest/run-cassandra to work on systems which default to Java 11, including Fedora 33. Recent versions of Cassandra can run on Java 11 fine, but requires a bunch of weird JVM options to work around its JPMS (Java Platform Module System) feature. Cassandra's start scripts require these options to be listd in conf/jvm11-server.options, which is read by the startup script cassandra.in.sh. Because our "run-cassandra" builds its own "conf" directory, we need to create a jvm11-server.options file in that directory. This is ugly, but unfortunately necessary if cql-pytest/run-cassandra is to run with on systems defaulting to Java 11. Signed-off-by: Nadav Har'El <nyh@scylladb.com> Message-Id: <20210406220039.195796-1-nyh@scylladb.com>