Discussion:
error starting sqline in distributed mode on windows server 2012
Add Reply
Divya Gehlot
2017-08-08 08:34:20 UTC
Reply
Permalink
Raw Message
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
Chunhui Shi
2017-08-08 17:45:20 UTC
Reply
Permalink
Raw Message
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 <***@gmail.com>
Sent: Tuesday, August 8, 2017 1:34:20 AM
To: ***@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

Loading...