Hi Andries, hi all,
great stuff,
drillbit=localhost instead of
zk=local
did the trick.
Could you elaborate a little more, on what the difference is or where to
retrieve additional information / documentation?
Thx
Martin
2015-11-02 19:26 GMT+01:00 Andries Engelbrecht
Drill can run in 2 modes - Embedded and Distributed.
In Distributed Mode it uses ZK for keeping track of all the Drillbits in a
Drill cluster. When connecting to a a distributed cluster you can either
connect direct to a single drill or use ZK to get a list if all drillbits and
then get
Looks like you are using Drill in embedded mode.
Instead of trying to connect to ZK (not available in embedded mode) rather
connect to the drillbit directly.
Example below
sqlline -u jdbc:drill:drillbit=localhost
Basically replace zk=localhost with drillbit=localhost
See if that works for you.
Hi all,
Situation
following the details on
https://drill.apache.org/docs/using-the-jdbc-driver/
I'm trying to connect
- with a simple JDBC Client (based on the code on bottom of
"using-the-jdbc-driver"-page)
- using the Drill JDBC Driver(