The connection URL should be  jdbc:drill:zk=<zk name>[:<port>][,<zk 
name2>[:<port>]

https://drill.apache.org/docs/using-the-jdbc-driver/

Thanks,

Arjun


________________________________
From: Divya Gehlot <divya.htco...@gmail.com>
Sent: Thursday, September 21, 2017 9:18 AM
To: user@drill.apache.org
Subject: error accessing sqlline in distributed mode

Hi,
I have Apache Drill installed and running in  distributed  mode .
I am trying to run queries in sqlline as below  :

> bin/sqlline –u jdbc:drill:zk=<zk1>,<zk2>,<zk3>:5181
> sqlline> SELECT version FROM sys.version;
> No current connection



am I missing anything here ?

Appreciate the help !

Thanks,
Divya

Reply via email to