java.lang.ExceptionInInitializerError

SpringSource Issue Tracker | Lirong Mao | 4 years ago
  1. 0

    Reproduce step: 1.Provison a D/C seprate mapr cluster. 2.Apply M5 license for mapr cluster on MCS UI. 3.Run pi/testDFSIO job on client vm. Problem: Can't run job on MapR 2.1.3 cluster's client vm. java.lang.ExceptionInInitializerError at com.mapr.fs.ShimLoader.load(ShimLoader.java:159) at com.mapr.fs.MapRFileSystem.<clinit>(MapRFileSystem.java:1669) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1039) at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1090) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1493) at org.apache.hadoop.fs.FileSystem.access$100(FileSystem.java:69) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1536) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1518) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:235) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:115) at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:617) at org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:439) at org.apache.hadoop.examples.PiEstimator.estimate(PiEstimator.java:265) at org.apache.hadoop.examples.PiEstimator.run(PiEstimator.java:342) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.examples.PiEstimator.main(PiEstimator.java:351) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:197) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.mapr.fs.ShimLoader.loadNativeLibrary(ShimLoader.java:244) at com.mapr.fs.ShimLoader.load(ShimLoader.java:146) ... 29 more Caused by: java.lang.UnsatisfiedLinkError: /opt/mapr/lib/libMapRClient.so.1: /opt/mapr/lib/libMapRClient.so.1: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at com.mapr.fs.shim.LibraryLoader.loadLibrary(LibraryLoader.java:41)

    SpringSource Issue Tracker | 4 years ago | Lirong Mao
    java.lang.ExceptionInInitializerError
  2. 0

    Reproduce step: 1.Provison a D/C seprate mapr cluster. 2.Apply M5 license for mapr cluster on MCS UI. 3.Run pi/testDFSIO job on client vm. Problem: Can't run job on MapR 2.1.3 cluster's client vm. java.lang.ExceptionInInitializerError at com.mapr.fs.ShimLoader.load(ShimLoader.java:159) at com.mapr.fs.MapRFileSystem.<clinit>(MapRFileSystem.java:1669) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:1039) at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1090) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1493) at org.apache.hadoop.fs.FileSystem.access$100(FileSystem.java:69) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1536) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1518) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:235) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:115) at org.apache.hadoop.mapred.JobConf.getWorkingDirectory(JobConf.java:617) at org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:439) at org.apache.hadoop.examples.PiEstimator.estimate(PiEstimator.java:265) at org.apache.hadoop.examples.PiEstimator.run(PiEstimator.java:342) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.examples.PiEstimator.main(PiEstimator.java:351) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:76) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:197) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.mapr.fs.ShimLoader.loadNativeLibrary(ShimLoader.java:244) at com.mapr.fs.ShimLoader.load(ShimLoader.java:146) ... 29 more Caused by: java.lang.UnsatisfiedLinkError: /opt/mapr/lib/libMapRClient.so.1: /opt/mapr/lib/libMapRClient.so.1: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at com.mapr.fs.shim.LibraryLoader.loadLibrary(LibraryLoader.java:41)

    SpringSource Issue Tracker | 4 years ago | Lirong Mao
    java.lang.ExceptionInInitializerError
  3. 0

    java.lang.UnsatisfiedLinkError: Java cannot find my dll's?

    Stack Overflow | 5 years ago | ialm
    java.lang.UnsatisfiedLinkError: E:\R\R-2.13.1\library\rJava\jri\jri.dll: The specified path is invalid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JCuda error: undefined symbol: Pointer_buffer

    Stack Overflow | 5 years ago | Rui
    java.lang.UnsatisfiedLinkError: /home/rui/Downloads/JCuda-All-0.4.0-beta1-src/JCudaDriverJNI/lib/libJCudaDriver-linux-x86.so: /home/rui/Downloads/JCuda-All-0.4.0-beta1-src/JCudaDriverJNI/lib/libJCudaDriver-linux-x86.so: undefined symbol: Pointer_buffer
  6. 0

    How to resolve UnsatisfiedLinkError faced using Java 6 program with Oracle XE?

    Stack Overflow | 4 years ago | B Chawla
    java.lang.UnsatisfiedLinkError: C:\oraclexe\app\oracle\product\11.2.0\server\bin\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

  1. filpgame 1 times, last 1 month ago
  2. rp 3 times, last 1 month ago
  3. franky li 4 times, last 1 month ago
  4. ajinkya_w 21 times, last 1 month ago
  5. serious2monkeys 14 times, last 1 week ago
26 more registered users
69 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

    /opt/mapr/lib/libMapRClient.so.1: /opt/mapr/lib/libMapRClient.so.1: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.loadLibrary
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
    4. java.lang.Runtime.loadLibrary0(Runtime.java:823)
    5. java.lang.System.loadLibrary(System.java:1028)
    5 frames
  3. com.mapr.fs
    LibraryLoader.loadLibrary
    1. com.mapr.fs.shim.LibraryLoader.loadLibrary(LibraryLoader.java:41)
    1 frame