Joe McDonnell has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/19031 )

Change subject: IMPALA-11634: Provide an option to use Java 11 for docker images
......................................................................

IMPALA-11634: Provide an option to use Java 11 for docker images

Currently, Docker images install Java 8 for Impala's use. This
adds the IMPALA_DOCKER_USE_JAVA11 environment variable. When
set to true, this installs Java 11 rather than Java 8. It
defaults to false. The daemon_entrypoint.sh script is modified
to detect Java 11 correctly. As a workaround for IMPALA-11260,
this appends a list of "--add-opens" statements to JAVA_TOOL_OPTIONS
when running with Java 11.

Testing:
 - Ran a set of dockerized tests on Rocky 8.5 with Java 11

Change-Id: Icc1dbd3f6a2279840218dc1da2b60077e211a328
Reviewed-on: http://gerrit.cloudera.org:8080/19031
Reviewed-by: Joe McDonnell <[email protected]>
Reviewed-by: Laszlo Gaal <[email protected]>
Tested-by: Joe McDonnell <[email protected]>
---
M bin/impala-config.sh
M bin/jenkins/dockerized-impala-bootstrap-and-test.sh
M docker/CMakeLists.txt
M docker/daemon_entrypoint.sh
M docker/install_os_packages.sh
5 files changed, 99 insertions(+), 5 deletions(-)

Approvals:
  Joe McDonnell: Looks good to me, but someone else must approve; Verified
  Laszlo Gaal: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/19031
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icc1dbd3f6a2279840218dc1da2b60077e211a328
Gerrit-Change-Number: 19031
Gerrit-PatchSet: 16
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>

Reply via email to