[
https://issues.apache.org/jira/browse/KAFKA-8499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-8499.
-----------------------------------
Fix Version/s: 2.4.0
Assignee: Lucas Bradstreet
Resolution: Fixed
> Ducker missing java commands in path for ducker user on openjdk docker images
> -----------------------------------------------------------------------------
>
> Key: KAFKA-8499
> URL: https://issues.apache.org/jira/browse/KAFKA-8499
> Project: Kafka
> Issue Type: Bug
> Components: system tests
> Affects Versions: 2.2.0, 2.3.0
> Reporter: Lucas Bradstreet
> Assignee: Lucas Bradstreet
> Priority: Major
> Fix For: 2.4.0
>
>
> openjdk:8/openjdk:11 used to include java and other java programs in
> /usr/bin. It has since been moved to /usr/local/openjdk-VERSION/bin, which
> will cause problems when the system tests invoke any java related utility as
> well as java itself if the user is using a later image with the same tag. The
> openjdk images have been updated with the same tag, so this can happen
> suddenly without any other code changes if the new version is pulled.
> The primary symptom on running the tests in ducker is that ZooKeeper will
> fail to start due to java not being found.
> We need to ensure the ducker user that is created in the Dockerfile includes
> the new location that java is installed to is included in its path.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)