Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8499

Ducker missing java commands in path for ducker user on openjdk docker images

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0, 2.3.0
    • None
    • system tests
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lbradstreet Lucas Bradstreet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: