AnsweredAssumed Answered

error running map-reduce job

Question asked by jonas_hartwig on Jan 22, 2013
Latest reply on Apr 10, 2013 by Ted Dunning
Hi,

I wrote a standard map-reduce job as i am used to do with "standard" Hadoop. However when I execute the job i get the following exception:

(hadoop 0.20.2 jar is scope provided in my pom)

    13/01/23 04:26:50 INFO security.JniBasedUnixGroupsMappingWithFallback: Falling back to shell based
          java.lang.UnsatisfiedLinkError: Native Library /opt/mapr/lib/libMapRClient.so.1 already loaded in another classloader
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1905)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
        at java.lang.Runtime.loadLibrary0(Runtime.java:845)
        at java.lang.System.loadLibrary(System.java:1084)
        at com.mapr.fs.MapRFileSystem.<clinit>(MapRFileSystem.java:1657)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        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:1444)
        at org.apache.hadoop.fs.FileSystem.access$100(FileSystem.java:69)
        at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1487)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1469)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:235)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:115)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:219)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:191)
        at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.setInputPaths(FileInputFormat.java:353)

Jonas

Outcomes