The Snappy compression library works fine on any Java in general, but there are known problems independent from Java when mixing native JNI-based snappy with pure Java snappy. In addition, some older versions of pure Java snappy are not thread safe and recently the pure Java snappy was disabled by default for this reason. Both implementations are released in the same snappy.jar which includes embedded .so native libraries. At least in older snappy versions, there is no information directly available as log or output to check if the native lib is used or if it fell back to pure java.
Alpine Linux 3.19 and newer doesn't contain the java-snappy package anymore
As workaround to get the native snappy library inside your application .jar running again which is based on glibc while Alpine and Zulu for Alpine uses musl-libc, install the Alpine gcompat package:
Add Comment
Comments
Please sign in to leave a comment.