Hi RafaelAll of OpenJDK 8, 11 and 14 are supported with Drill 1.19. Reasons to use newer JDKs include benefiting from JVM enhancements (e.g. the new garbage collectors) and being able to use new Java language features in code that you will run in the Drill JVM, e.g. in your UDFs. Reasons to use older JDKs mostly boil down to environmental constraints e.g. your production environment has not yet been upgraded from OpenJDK 8, maybe something is blocking the ops team from doing it. So the recommended JDK version becomes a situational thing. E.g. I'm personally running Drill on OpenJDK 11 because that's what default-jdk points to in Debian right now.
On the question of Docker images specifically, an advantage of producing images for each supported OpenJDK target is that we, and users, can easily launch different Drill / OpenJDK combinations in a reproducible way without reaching for a compiler or configuring test environments. This enables all sorts of testing and comparisons between versions as we investigate bugs, performance, etc.
James On 2021/09/24 20:16, Rafael Jaimes III wrote:
I was actually looking at this today and noticed that I was still running openjdk-8. What is the recommended version for running Drill 1.19? Is there any distinct advantage for creating images with different openjdk versions? Thx, On Mon, Sep 20, 2021 at 11:11 AM Ted Dunning <[email protected]> wrote:This is great news. Makes me think that these might be the best way to try Drill out as well, especially where containers have low overhead (i.e. on Linux) On Mon, Sep 20, 2021 at 4:32 AM luoc <[email protected]> wrote:Hello James, Great work. Is it possible to add this NOTICE to Github wiki or docs of website?在 2021年9月20日,19:27,James Turton <[email protected]> 写道: Hi all If you browse to https://hub.docker.com/r/apache/drill/tags, you'llseethat we've just started publishing the following new Docker images basedonsnapshots of Drill master.apache/drill:master-openjdk-8 (=master) snapshot of master running onthe openjdk:8 base imageapache/drill:master-openjdk-11 snapshot of master running onthe latest supported LTS OpenJDK base imageapache/drill:master-openjdk-14 snapshot of master running onthe latest supported OpenJDK base imageThe latest *released* version of Drill, which remains recommended forproduction deployments, is stillapache/drill:latest latest release running on theopenjdk:8 base imageStarting from the *next* release (1.20) we will also publish apache/drill:latest-openjdk-8 (=latest) latest release running on theopenjdk:8 base imageapache/drill:latest-openjdk-11 latest release running on thelatest supported LTS OpenJDK base imageapache/drill:latest-openjdk-14 latest release running on thelatest supported OpenJDK base imageeach of which will also be tagged by Drill version, so following tagswill be identical to those in the preceding paragraphapache/drill:1.20.0-openjdk-8 (=latest) latest release running on theopenjdk:8 base imageapache/drill:1.20.0-openjdk-11 latest release running on thelatest supported LTS OpenJDK base imageapache/drill:1.20.0-openjdk-14 latest release running on thelatest supported OpenJDK base imageComing back to what's different *today*, the short of it is that youhave containerised snapshots of master for testing unreleased code ornewerJDK images.Regards James
