You can access Drill via JDBC and run in embedded mode using the entire set of jar files shipped with Drill. If you want an application to start up an internal Drillbit, you'll need to add all of these to the classpath.
You can Drill can also access a remote cluster of Drillbits with the much simpler and smaller thing jdbc driver (distributed in the jars/jdbc-driver directory of the tarball). This makes use with third party applications simpler/smaller. However, this Drill JDBC driver does not support running an embedded Drillbit. You need to be running a Drillbit somewhere to use this. We should make the error message clearer. Can you file a JIRA for this? On Fri, Sep 12, 2014 at 7:45 AM, Jim Scott <[email protected]> wrote: > Just to clarify what you are saying. Currently, the JDBC driver will only > work if I am writing code to use the driver and launch it, and thus I can > put everything necessary on the classpath. > > On Fri, Sep 12, 2014 at 12:00 AM, Aditya <[email protected]> wrote: > > > Drill embedded mode is currently not supported by the JDBC driver. > > > > On Thu, Sep 11, 2014 at 9:37 PM, Jim Scott <[email protected]> wrote: > > > > > I have pulled down the new 0.5 build and I have decided to try to get > > > dbvisualizer working with this driver. > > > > > > > > > *(If there is something I have wrong here, please let me know)* > > > When I use this jar: > jars/jdbc-driver/drill-jdbc-all-0.5.0-incubating.jar > > > and this driver: org.apache.drill.jdbc.Driver > > > with this URL: jdbc:drill:zk=local > > > I get the following while establishing the connection: > > > Long Message: > > > org/eclipse/jetty/server/Handler > > >
