AnsweredAssumed Answered

UnsatisfiedLinkError  when connecting to the cluster

Question asked by wlimam on Oct 15, 2015
Latest reply on Oct 16, 2015 by wlimam
I have a java application running on Jboss7 AS. My MapR Client is able to connect to the cluster and can execute hadoop fs -ls. But When the java client try to connect to the cluster with FileSystem.get(URI.create(url), conf) i get the following error:

    java.lang.UnsatisfiedLinkError: com.mapr.security.JNISecurity.SetClusterOption(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

here is the stacktrace of the exception

          com.mapr.security.JNISecurity.SetClusterOption(Native Method),
       com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.init(CLDBRpcCommonUtils.java:150),
       com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.<init>(CLDBRpcCommonUtils.java:60),
       com.mapr.baseutils.cldbutils.CLDBRpcCommonUtils.<clinit>(CLDBRpcCommonUtils.java:53),

I tried to run the Jobss AS wiht the java option -Djava.library.path=/opt/mapr/lib/  but i still get the same error.

MapR version is 5.0. Any hints how to fix this problem?

Outcomes