On Thursday, July 6, 2017 at 12:02:51 PM UTC-7, [email protected] wrote: > > Hello, > > Is JDBC + Apache Drill possible without using jRuby? > > Excuse my naive questioning, I'm not much of a Java person, but I've > created a CLASSPATH environment variable pointing to the directory with my > Apache Drill JDBC jar file exists, but I'm having problems connecting to my > Drill cluster: > > # sequel > jdbc:drill:zk=zookeeper-0.zookeeper.default.svc.cluster.local:2181,zookeeper-1.zookeeper.default.svc.cluster.local:2181,zookeeper-2.zookeeper.default.svc.cluster.local:2181/drill/mypath;schema=dfs > Error: Sequel::AdapterNotFound: LoadError: cannot load such file -- java > > I'm using Ruby 2.2.4 and would rather not use jRuby for this particular > use case. I know the driver to work fine, as I can connect to my cluster > using jMeter and this same connection string (although obviously I'm not > even getting connectivity attempts yet here) > > Is anything else required to connect using a custom Java JDBC jar file? >
The jdbc adapter requires JRuby and does not work on MRI, just as adapters which require C extensions work on MRI and not on JRuby. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
