[ 
https://issues.apache.org/jira/browse/DRILL-5780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mayank Jain closed DRILL-5780.
------------------------------
    Resolution: Fixed

I ran the command from Git Bash which removed the '=' from sqlline.bat command

> Apache Drill in embedded mode on Windows: Failure setting up ZK for client
> --------------------------------------------------------------------------
>
>                 Key: DRILL-5780
>                 URL: https://issues.apache.org/jira/browse/DRILL-5780
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Mayank Jain
>
> $ ./sqlline.bat -u "jdbc:drill:zk=local"
> DRILL_ARGS - " -u jdbc:drill:zk local"
> HADOOP_HOME not detected...
> HBASE_HOME not detected...
> Calculating Drill classpath...
> Error: Failure in connecting to Drill: 
> org.apache.drill.exec.rpc.RpcException: F
> ailure setting up ZK for client. (state=,code=0)
> java.sql.SQLException: Failure in connecting to Drill: 
> org.apache.drill.exec.rpc
> .RpcException: Failure setting up ZK for client.
>         at 
> org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnection
> Impl.java:167)
>         at 
> org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(Dril
> lJdbc41Factory.java:72)
>         at 
> org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.ja
> va:69)
>         at 
> org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDri
> ver.java:143)
>         at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
>         at sqlline.DatabaseConnection.connect(DatabaseConnection.java:167)
>         at 
> sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:213)
>         at sqlline.Commands.connect(Commands.java:1083)
>         at sqlline.Commands.connect(Commands.java:1015)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:483)
>         at 
> sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.jav
> a:36)
>         at sqlline.SqlLine.dispatch(SqlLine.java:742)
>         at sqlline.SqlLine.initArgs(SqlLine.java:528)
>         at sqlline.SqlLine.begin(SqlLine.java:596)
>         at sqlline.SqlLine.start(SqlLine.java:375)
>         at sqlline.SqlLine.main(SqlLine.java:268)
> Caused by: org.apache.drill.exec.rpc.RpcException: Failure setting up ZK for 
> cli
> ent.
>         at 
> org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:329
> )
>         at 
> org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnection
> Impl.java:158)
>         ... 18 more
> Caused by: java.io.IOException: Failure to connect to the zookeeper cluster 
> serv
> ice within the allotted time of 10000 milliseconds.
>         at 
> org.apache.drill.exec.coord.zk.ZKClusterCoordinator.start(ZKClusterCo
> ordinator.java:123)
>         at 
> org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:327
> )
>         ... 19 more
> local (The system cannot find the file specified)
> apache drill 1.11.0
> "a drill in the hand is better than two in the bush"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to