[
https://issues.apache.org/jira/browse/IMPALA-11634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616068#comment-17616068
]
ASF subversion and git services commented on IMPALA-11634:
----------------------------------------------------------
Commit 3d269e465e59b7f3af9f124598e66781ba8cd829 in impala's branch
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3d269e465 ]
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]>
> Add ability to produce Docker images with Java 11
> -------------------------------------------------
>
> Key: IMPALA-11634
> URL: https://issues.apache.org/jira/browse/IMPALA-11634
> Project: IMPALA
> Issue Type: Improvement
> Components: Infrastructure
> Affects Versions: Impala 4.2.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Major
>
> The current Docker images include Java 8. In order to test Java 11, it is
> useful to be able to create docker images that have Java 11 installed. Being
> able to control this via an environment variable would make it easy to
> produce a set of docker images for testing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]