AnsweredAssumed Answered

MapR 6.0 OJAI - No registered driver found for url: 'ojai:mapr:'

Question asked by ryanvictory on Nov 24, 2017
Latest reply on Dec 4, 2017 by sarjeetsingh

I'm attempting to port over some of my existing code from the OJAI 1.0 API to OJAI 2.0. When trying to connect, I get the error:

 

Java::OrgOjaiExceptions::OjaiException: No registered driver found for url: 'ojai:mapr:'Is there a particular method I have to call on MapRDB to register it with OJAI? I am running in a fairly nonstandard way, using JRuby, however I don't think this has much to do with it. It appears that somehow MapRDB should be invoking the OJAI "DriverManager.registerDriver(Driver driver)" method, however I can't seem to figure out where that would be happening, nor can I find any implementation of the OJAI:Driver interface in the MapRDB JavaDocs to register it myself.

 

Any help would be greatly appreciated!

Outcomes