Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14981

SnappyCodec.checkNativeCodeLoaded raises UnsatisfiedLinkError if native code is missing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.8.0, 2.9.0, 3.0.0-beta1
    • None
    • common
    • None

    Description

      I'm getting a stack trace on trunk because there is no native lib on the path and Snappy has been invoked

        at java.lang.Thread.run(Thread.java:745)
        ...  Cause: java.lang.UnsatisfiedLinkError: org.apache.hadoop.util.NativeCodeLoader.buildSupportsSnappy()Z
        at org.apache.hadoop.util.NativeCodeLoader.buildSupportsSnappy(Native Method)
        at org.apache.hadoop.io.compress.SnappyCodec.checkNativeCodeLoaded(SnappyCodec.java:63)
      

      HADOOP-13684 touched these lines in the past,

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: