jdbc - Apache Drill - connection to Drill in Embedded Mode [java] -
i want connect drill java app, , far trying use jdbc , i'm using example https://github.com/vicenteg/drilljdbcexample, but... when change db_url static variable "jdbc:drill:zk=local" , start app exception:
java.sql.sqlnontransientconnectionexception: running drill in embedded mode using drill's jdbc-all jdbc driver jar file alone not supported.
and far didn't found workaround. idea how connect drill in embedded mode? don't want set distributed mode far.
there not on web.
any appreciated!
if connecting local embedded instance(without zookeeper), should use drillbit host directly like:
jdbc:drill:drillbit=<drillbit-host>:[port]
eg: jdbc:drill:drillbit=localhost
Comments
Post a Comment