AnsweredAssumed Answered

MaprDB java remote client

Question asked by radford1 on May 30, 2017
Latest reply on Jun 9, 2017 by maprcommunity
Branched to a new discussion

I'm having an issue creating a java client on windows 7 and connecting it to a Mapr cluster running on linux. I have downloaded the windows Mapr client and ran through the setup to connect to my cluster. When I run the java code below I'm getting this error.

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-05-30 11:57:32,7169 ERROR JniCommon fs/client/fileclient/cc/jni_MapRClient.cc:626 Thread: 1640 Client initialization failed.

 

Table table = MapRDB.createTable("/mapr/my.cluster.com/apps/user_profiles");
Document doc = MapRDB.newDocument("{\"name\":\"DAVES\"}");
table.insert(doc);
         

The pom.xml file is attached that I am using

Attachments

Outcomes