Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7107

Unable to connect to Drill 1.15 through ZK

    XMLWordPrintableJSON

    Details

      Description

      After upgrading to Drill 1.15, users are seeing they are no longer able to connect to Drill using ZK quorum. They are getting the following "Unable to setup ZK for client" error.

      [~]$ sqlline -u "jdbc:drill:zk=172.16.2.165:5181;auth=maprsasl"
      Error: Failure in connecting to Drill: org.apache.drill.exec.rpc.RpcException: Failure setting up ZK for client. (state=,code=0)
      java.sql.SQLNonTransientConnectionException: 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>(DrillConnectionImpl.java:174)
      at org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:67)
      at org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:67)
      at org.apache.calcite.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:138)
      at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
      at sqlline.DatabaseConnection.connect(DatabaseConnection.java:130)
      at sqlline.DatabaseConnection.getConnection(DatabaseConnection.java:179)
      at sqlline.Commands.connect(Commands.java:1247)
      at sqlline.Commands.connect(Commands.java:1139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)
      at sqlline.SqlLine.dispatch(SqlLine.java:722)
      at sqlline.SqlLine.initArgs(SqlLine.java:416)
      at sqlline.SqlLine.begin(SqlLine.java:514)
      at sqlline.SqlLine.start(SqlLine.java:264)
      at sqlline.SqlLine.main(SqlLine.java:195)
      Caused by: org.apache.drill.exec.rpc.RpcException: Failure setting up ZK for client.
      at org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:340)
      at org.apache.drill.jdbc.impl.DrillConnectionImpl.<init>(DrillConnectionImpl.java:165)
      ... 18 more
      Caused by: java.lang.NullPointerException
      at org.apache.drill.exec.coord.zk.ZKACLProviderFactory.findACLProvider(ZKACLProviderFactory.java:68)
      at org.apache.drill.exec.coord.zk.ZKACLProviderFactory.getACLProvider(ZKACLProviderFactory.java:47)
      at org.apache.drill.exec.coord.zk.ZKClusterCoordinator.<init>(ZKClusterCoordinator.java:114)
      at org.apache.drill.exec.coord.zk.ZKClusterCoordinator.<init>(ZKClusterCoordinator.java:86)
      at org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:337)
      ... 19 more
      Apache Drill 1.15.0.0
      "This isn't your grandfather's SQL."
      sqlline>

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                karthikm Karthikeyan Manivannan
                Reporter:
                karthikm Karthikeyan Manivannan
                Reviewer:
                Sorabh Hamirwasia
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: