AnsweredAssumed Answered

Mismatch found for java and native libraries java build version 5.2.1.42646.GA, native build version 5.2.1.42385GA java patch

Question asked by vraushan on Jun 29, 2017
Latest reply on Jun 30, 2017 by maprcommunity
Branched from an earlier discussion

Now, I have included mapr-hbase dependency in pom. Earlier error is resolved. However i started getting different error.

 

2017-06-29 13:49:57,3251 ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:616 Thread: 13012 Mismatch found for java and native libraries java build version 5.2.1.42646.GA, native build version 5.2.1.42385GA java patch vserion $Id: mapr-version: 5.2.1.42646.GA 42646:812878ab1269 $, native patch version $Id: mapr-version: 5.2.1.42385GA 42385:3858f25fb014bd088ad6006e
2017-06-29 13:49:57,3251 ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:626 Thread: 13012 Client initialization failed.
Exception in thread "main" java.io.IOException: Could not create FileClient
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:626)
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:679)
at com.mapr.fs.MapRFileSystem.openTable(MapRFileSystem.java:3166)
at com.mapr.fs.MapRHTable.init(MapRHTable.java:98)
at com.mapr.fs.hbase.HTableImpl.<init>(HTableImpl.java:94)
at com.mapr.fs.hbase.HTableImpl11.<init>(HTableImpl11.java:57)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.hbase.client.mapr.GenericHFactory.getImplementorInstance(GenericHFactory.java:37)
at org.apache.hadoop.hbase.client.HTable.createMapRTable(HTable.java:556)
at org.apache.hadoop.hbase.client.HTable$2.run(HTable.java:519)
at org.apache.hadoop.hbase.client.HTable$2.run(HTable.java:516)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:356)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1575)
at org.apache.hadoop.hbase.client.HTable.initIfMapRTableImpl(HTable.java:515)
at org.apache.hadoop.hbase.client.HTable.initIfMapRTable(HTable.java:473)
at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:230)
at com.mapr.fs.hbase.MapRClusterConnectionImpl.getTable(MapRClusterConnectionImpl.java:174)
at com.mapr.fs.hbase.MapRClusterConnectionImpl.getTable(MapRClusterConnectionImpl.java:53)

Outcomes