java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.2-34ccc4eb-563b-4d84-a369-f0725a9d96c5-libsnappyjava.so: /tmp/snappy-1.1.2-34ccc4eb-563b-4d84-a369-f0725a9d96c5-libsnappyjava.so: failed to map segment from shared object: Operation not permitted

Google Groups | Elkhan | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Should Spark conf params specified in cdap-env.sh for CDAP standalone mode ?

    Google Groups | 8 months ago | Elkhan
    java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.2-34ccc4eb-563b-4d84-a369-f0725a9d96c5-libsnappyjava.so: /tmp/snappy-1.1.2-34ccc4eb-563b-4d84-a369-f0725a9d96c5-libsnappyjava.so: failed to map segment from shared object: Operation not permitted

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      /tmp/snappy-1.1.2-34ccc4eb-563b-4d84-a369-f0725a9d96c5-libsnappyjava.so: /tmp/snappy-1.1.2-34ccc4eb-563b-4d84-a369-f0725a9d96c5-libsnappyjava.so: failed to map segment from shared object: Operation not permitted

      at org.apache.spark.io.SnappyCompressionCodec$.liftedTree1$1()
    2. Spark
      SnappyCompressionCodec.<init>
      1. org.apache.spark.io.SnappyCompressionCodec$.liftedTree1$1(CompressionCodec.scala:171)
      2. org.apache.spark.io.SnappyCompressionCodec$.org$apache$spark$io$SnappyCompressionCodec$$version$lzycompute(CompressionCodec.scala:168)
      3. org.apache.spark.io.SnappyCompressionCodec$.org$apache$spark$io$SnappyCompressionCodec$$version(CompressionCodec.scala:168)
      4. org.apache.spark.io.SnappyCompressionCodec.<init>(CompressionCodec.scala:152)
      4 frames
    3. Java RT
      NativeConstructorAccessorImpl.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[na:1.8.0_91]
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      2 frames