On architectures such as z/OS, where snappy c module does not exist, we get runtime failure:
org.xerial.snappy.SnappyError: .FAILED_TO_LOAD_NATIVE_LIBRARY. no native library is found for os.name=zOS and os.arch=s390x
It would be great if we had the option to get Avro to use the Java native snappy implementation instead of JNI, such as can be found here and used freely: https://github.com/dain/snappy
This would resolve issues for all platforms which are currently unsupported.
Maybe an option to select native or JNI could be added into the snappy wrapper