You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Divya Gehlot <di...@gmail.com> on 2017/08/08 08:34:20 UTC

error starting sqline in distributed mode on windows server 2012

Hi,

C:\apache-drill-1.11.0\bin>sqlline.bat -u
> "jdbc:drill:zk=<ip1>:2181,<ip2>:2181,<ip3>:2181"
> DRILL_ARGS - " -u jdbc:drill:zk=<ip1>:2181,<ip2>:2181,<ip3>:2181"
> HADOOP_HOME not detected...
> HBASE_HOME not detected...
> Calculating Drill classpath...
> No active Drillbit endpoint found from ZooKeeper. Check connection
> parameters?
> apache drill 1.11.0
> "got drill?"
> 0: jdbc:drill:zk=<ip1>:2181,<ip2>> SELECT * FROM sys.drillbits;
> No current connection
> 0: jdbc:drill:zk=<ip1>:2181,<ip2>>



P.S. - removed the real Ip adress for security purpose

Appreciate the help !

Thanks,
Divya

Re: error starting sqline in distributed mode on windows server 2012

Posted by Chunhui Shi <cs...@mapr.com>.
You may want to check drill's zookeeper configuration (usually in drill-override.conf) for 'zk.connect' option to see the connection parameter were set to the same values as you used in sqlline.


________________________________
From: Divya Gehlot <di...@gmail.com>
Sent: Tuesday, August 8, 2017 1:34:20 AM
To: user@drill.apache.org
Subject: error starting sqline in distributed mode on windows server 2012

Hi,

C:\apache-drill-1.11.0\bin>sqlline.bat -u
> "jdbc:drill:zk=<ip1>:2181,<ip2>:2181,<ip3>:2181"
> DRILL_ARGS - " -u jdbc:drill:zk=<ip1>:2181,<ip2>:2181,<ip3>:2181"
> HADOOP_HOME not detected...
> HBASE_HOME not detected...
> Calculating Drill classpath...
> No active Drillbit endpoint found from ZooKeeper. Check connection
> parameters?
> apache drill 1.11.0
> "got drill?"
> 0: jdbc:drill:zk=<ip1>:2181,<ip2>> SELECT * FROM sys.drillbits;
> No current connection
> 0: jdbc:drill:zk=<ip1>:2181,<ip2>>



P.S. - removed the real Ip adress for security purpose

Appreciate the help !

Thanks,
Divya