Skip to content

HDDS-14579. Create ozone-runner with JDK8#57

Merged
adoroszlai merged 1 commit intoapache:jdk8from
adoroszlai:HDDS-14579
Feb 7, 2026
Merged

HDDS-14579. Create ozone-runner with JDK8#57
adoroszlai merged 1 commit intoapache:jdk8from
adoroszlai:HDDS-14579

Conversation

@adoroszlai
Copy link
Contributor

@adoroszlai adoroszlai commented Feb 6, 2026

What changes were proposed in this pull request?

Create a variant of ozone-runner with Java 8 to be used in client compatibility tests.

  • Replace JDK with JRE.
  • Some of the tools from the full image are omitted (async-profiler, byteman, mountpoint-s3, rclone).

https://issues.apache.org/jira/browse/HDDS-14579

How was this patch tested?

CI build:
https://github.com/adoroszlai/ozone-docker-runner/actions/runs/21761076130

$ docker run -it --rm ghcr.io/adoroszlai/ozone-runner:70ca2619b861374df5e31b60063c4e62db906b35 java -version
...
openjdk version "1.8.0_482"
OpenJDK Runtime Environment (build 1.8.0_482-b08)
OpenJDK 64-Bit Server VM (build 25.482-b08, mixed mode)

Ozone change using the image from CI build:
https://github.com/adoroszlai/ozone/actions/runs/21761284361

@adoroszlai adoroszlai self-assigned this Feb 6, 2026
@adoroszlai adoroszlai requested a review from szetszwo February 6, 2026 19:57
Copy link

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adoroszlai , thanks for working on this!

I don't familiar with this Dockerfile -- before this PR, it seems using JDK 21. The PR changes it to use JDK 8. Is it the case? If yes, do we have to support JDK 21?

@adoroszlai
Copy link
Contributor Author

before this PR, it seems using JDK 21. The PR changes it to use JDK 8. Is it the case? If yes, do we have to support JDK 21?

JDK 21 is supported on master, this PR is targeted at a new branch jdk8. Each image has only one version of Java to avoid bloating it.

Copy link

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adoroszlai , thanks for info!

+1 the change looks good.

@adoroszlai adoroszlai merged commit ca19d9e into apache:jdk8 Feb 7, 2026
1 check passed
@adoroszlai adoroszlai deleted the HDDS-14579 branch February 7, 2026 16:19
@adoroszlai
Copy link
Contributor Author

Thanks @szetszwo for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants