Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2781

org.xerial.snappy.SnappyError: .FAILED_TO_LOAD_NATIVE_LIBRARY. no native library is found for os.name=zOS and os.arch=s390x

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • java
    • os.name=zOS and os.arch=s390x

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            kiwi1969 Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: