yaalsn opened a new pull request, #22804: URL: https://github.com/apache/pulsar/pull/22804
### Motivation From branch-3.3, pulsar starts to use alpine as base image, but it throws exception when using snappy-java lib. ``` Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.10-4b05b6fe-7374-45fc-b770-7e3728aa63de-libsnappyjava.so: Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37 [in thread "pulsar-offload-write-OrderedExecutor-1-0"] ``` The reason is that alpine is musl-based OS while snappy-java lib built-in libsnappyjava.so is compiled with glibc. In order to fix this issue, we need to re-compile the snappy-java native lib in alpine docker. ### Modifications ### Verifying this change - [x] Make sure that the change passes the CI checks. ### Documentation - [ ] `doc` <!-- Your PR contains doc changes. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> ### Matching PR in forked repository PR in forked repository: https://github.com/yaalsn/pulsar/pull/2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org