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
@adoroszlai adoroszlai requested a review from errose28 January 29, 2026 18:39
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.

1 participant