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

SnappyCodec.checkNativeCodeLoaded raises UnsatisfiedLinkError if native code is missing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.8.0, 2.9.0, 3.0.0-beta1
    • Fix Version/s: None
    • Component/s: common
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: