scylla-ansible-roles icon indicating copy to clipboard operation
scylla-ansible-roles copied to clipboard

OpenJDK - Fix inconsistencies

Open fee-mendes opened this issue 2 years ago • 3 comments

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 avatar Jul 04 '22 21:07 fee-mendes

@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)

tarzanek avatar Aug 18 '22 08:08 tarzanek

In addition to what @tarzanek wrote - is it even safe to use OpenJDK11? Does nodetool work with anything but Java 1.8?

@amnonh comments?

vladzcloudius avatar Aug 25 '22 23:08 vladzcloudius

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. :-)

fee-mendes avatar Aug 26 '22 12:08 fee-mendes