tlp-cluster icon indicating copy to clipboard operation
tlp-cluster copied to clipboard

Allow building Cassandra with Java 11 Support

Open rustyrazorblade opened this issue 6 years ago • 2 comments

Currently the build process only uses Java 8 for builds, which won't be a good long term solution. Cassandra 4 can work with Java 11, although it's experimental right now.

We should probably pull Java 11 into the docker image and use update-java-alternatives to pick the compile version. I'm thinking we'll need to set a flag to decide what to build, but I'm open to discuss this as I don't have a strong opinion on the best approach.

We'll need to also update the install scripts to install java 11 in addition to 8, and most likely use the same update-java-alternatives.

I think for the install it wouldn't be particularly inconvenient to add an extras/ directory under provisioning/cassandra/ that could install java 11 and set it to the default, if you want it you just copy the script into provisioning/cassandra.

rustyrazorblade avatar Oct 18 '18 23:10 rustyrazorblade

@rzvoncek any interest in working on this?

rustyrazorblade avatar Oct 30 '18 22:10 rustyrazorblade

@rustyrazorblade, yeah, I'd like to give it a shot.

rzvoncek avatar Nov 06 '18 07:11 rzvoncek