org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 12.0 failed 1 times, most recent failure: Lost task 0.0 in stage 12.0 (TID 10, localhost): java.lang.UnsatisfiedLinkError: /usr/jdk/lib/libjnicaffe.so: /usr/jdk/lib/libjnicaffe.so: undefined symbol: _ZN5caffe15WindowDataLayerIdED1Ev

GitHub | dahaichangge | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 147#251567628

    GitHub | 5 months ago | dahaichangge
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 12.0 failed 1 times, most recent failure: Lost task 0.0 in stage 12.0 (TID 10, localhost): java.lang.UnsatisfiedLinkError: /usr/jdk/lib/libjnicaffe.so: /usr/jdk/lib/libjnicaffe.so: undefined symbol: _ZN5caffe15WindowDataLayerIdED1Ev
  2. 0

    I run the apps.CifarApp,but there were some mistakes.

    GitHub | 5 months ago | dahaichangge
    org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 12.0 failed 1 times, most recent failure: Lost task 0.0 in stage 12.0 (TID 34, localhost): java.lang.UnsatisfiedLinkError: no jnicaffe in java.library.path
  3. 0

    Spark 常见错误 | 云腾泛舟-技术博客

    boatingclouds.com | 1 year ago
    java.lang.UnsatisfiedLinkError: /tmp/snappy-1.0.4.1-1d6b68c7-7b65-4c0b-8008-19f112c714ea-libsnappyjava.so: /tmp/snappy-1.0.4.1-1d6b68c7-7b65-4c0b-8008-19f112c714ea-libsnappyjava.so: failed to map segment from shared object: Operation not permitted
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.UnsatisfiedLinkError: jline ...dll: A dynamic link library (DLL) initialization routine failed

    GitHub | 2 years ago | rustyx
    java.lang.UnsatisfiedLinkError: C:\TEMP\jline\jline6426628542205626973.dll: A dynamic link library (DLL) initialization routine failed
  6. 0

    version `GLIBC_2.14' not found

    GitHub | 2 years ago | liar666
    java.lang.reflect.InvocationTargetException

  1. franky li 8 times, last 4 months ago
  2. Lukasmcd14 1 times, last 6 months ago
  3. Christopher 4 times, last 9 months ago
  4. xgao 1 times, last 1 year ago
43 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    /tmp/javacpp3812283228129/libjnicaffe.so: /tmp/javacpp3812283228129/libjnicaffe.so: undefined symbol: _ZN5caffe15WindowDataLayerIdED1Ev

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.load
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    3. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    4. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    5. java.lang.Runtime.load0(Runtime.java:795)
    6. java.lang.System.load(System.java:1062)
    6 frames
  3. JavaCPP
    caffe.<clinit>
    1. org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:615)
    2. org.bytedeco.javacpp.Loader.load(Loader.java:470)
    3. org.bytedeco.javacpp.Loader.load(Loader.java:407)
    4. org.bytedeco.javacpp.caffe.<clinit>(caffe.java:16)
    4 frames
  4. Java RT
    Class.forName
    1. java.lang.Class.forName0(Native Method)
    2. java.lang.Class.forName(Class.java:274)
    2 frames
  5. JavaCPP
    caffe$NetParameter.<clinit>
    1. org.bytedeco.javacpp.Loader.load(Loader.java:442)
    2. org.bytedeco.javacpp.Loader.load(Loader.java:407)
    3. org.bytedeco.javacpp.caffe$NetParameter.<clinit>(caffe.java:1946)
    3 frames
  6. apps
    CifarApp$$anonfun$main$3.apply
    1. apps.CifarApp$$anonfun$main$3.apply$mcVI$sp(CifarApp.scala:83)
    2. apps.CifarApp$$anonfun$main$3.apply(CifarApp.scala:82)
    3. apps.CifarApp$$anonfun$main$3.apply(CifarApp.scala:82)
    3 frames
  7. Scala
    Iterator$class.foreach
    1. scala.collection.Iterator$class.foreach(Iterator.scala:727)
    1 frame
  8. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.InterruptibleIterator.foreach(InterruptibleIterator.scala:28)
    2. org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912)
    3. org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$32.apply(RDD.scala:912)
    4. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
    5. org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)
    6. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
    7. org.apache.spark.scheduler.Task.run(Task.scala:89)
    8. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:213)
    8 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames