Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

  • Bump Hadoop native lib to 3.4.2 in the ozone-runner image
  • Get the "lean" tarball, which omits AWS Java SDK, for smaller download size
  • Extract only native libs instead of the entire tarball
  • Extract directly to /usr/lib
  • Set owner of native libs to root

(This PR is for the slim flavor, will cherry-pick to master later.)

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

How was this patch tested?

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

$ docker pull ghcr.io/adoroszlai/ozone-runner:d7ad737acd392b88a098a82e92124430c17e7c39
...

$ docker run -it --rm ghcr.io/adoroszlai/ozone-runner:d7ad737acd392b88a098a82e92124430c17e7c39 bash -c 'ls -l /usr/lib/libhadoop*' 
To use Ozone please mount ozone folder to /opt/hadoop
-rw-r--r-- 1 root root 1634600 Aug 20 10:30 /usr/lib/libhadoop.a
lrwxrwxrwx 1 root root      18 Aug 20 10:30 /usr/lib/libhadoop.so -> libhadoop.so.1.0.0
-rwxr-xr-x 1 root root  890256 Aug 20 10:30 /usr/lib/libhadoop.so.1.0.0

@adoroszlai adoroszlai self-assigned this Jan 29, 2026
Copy link

@errose28 errose28 left a comment

Choose a reason for hiding this comment

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

LGTM

@errose28 errose28 merged commit a690542 into apache:slim Feb 4, 2026
1 check passed
adoroszlai added a commit to adoroszlai/ozone-docker-runner that referenced this pull request Feb 5, 2026
@adoroszlai adoroszlai deleted the HDDS-14525-slim branch February 5, 2026 09:16
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