scylla-ansible-roles
scylla-ansible-roles copied to clipboard
OpenJDK - Fix inconsistencies
This series addresses two OpenJDK related inconsistencies across Ubuntu/Debian/CentOS:
As Debian 10 onward no longer ship with OpenJDK 8, we bump its version to OpenJDK 11. Similarly, we also let Ubuntu make use of that as it no longer ships updates to OpenJDK 8 (therefore, it should be eventually be removed in future releases). CentOS - on the other hand - still ships updates to OpenJDK 8 (via EPEL) and we let the default installer pick its latest release as usual.
However, installing a recent OpenJDK version in either distribution unveils https://github.com/scylladb/scylla/issues/10442, which needs to be treated accordingly. This is handled in the second commit in this series.
Fixes #142
@fee-mendes I think this patch looks good re update to openjdk 11
however the commit/patch for nodetool and tainting environment with java opts should be split from this PR and likely I don't want to merge it (it's fixed in latest Scylla anyways, no need to pollute the repo with temporary stuff that is not even relevant now)
In addition to what @tarzanek wrote - is it even safe to use OpenJDK11? Does nodetool work with anything but Java 1.8?
@amnonh comments?
is it even safe to use OpenJDK11? Does nodetool work with anything but Java 1.8?
If it isn't then we have a real problem in our release process. 1.8 is EOL for a long time now, most distributions support it on a best-effort basis, and Debian - as always progressist - already removed it. :-)