drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arjun kr <arjun...@outlook.com>
Subject Re: error accessing sqlline in distributed mode
Date Thu, 21 Sep 2017 03:53:46 GMT
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.htconex@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message