You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jim Scott (JIRA)" <ji...@apache.org> on 2014/08/01 17:54:38 UTC

[jira] [Created] (DRILL-1238) Cannot connect to local zookeeper with a dfs schema present in connection string

Jim Scott created DRILL-1238:
--------------------------------

             Summary: Cannot connect to local zookeeper with a dfs schema present in connection string 
                 Key: DRILL-1238
                 URL: https://issues.apache.org/jira/browse/DRILL-1238
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - CLI
    Affects Versions: 0.4.0
            Reporter: Jim Scott


When I connect with either dfs or dfs.root as follows:
sqlline -u jdbc:drill:dfs.root;zk=local -n admin -p admin

I get the following error (if I remove the dfs portion it works fine):
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
10:50:13.347 [main] ERROR org.apache.curator.ConnectionState - Connection timed out for connection string (localhost:2181) and timeout (5000) / elapsed (5120)
org.apache.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss
	at org.apache.curator.ConnectionState.checkTimeouts(ConnectionState.java:198) [curator-client-2.5.0.jar:na]
	at org.apache.curator.ConnectionState.getZooKeeper(ConnectionState.java:88) [curator-client-2.5.0.jar:na]
	at org.apache.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115) [curator-client-2.5.0.jar:na]
	at org.apache.curator.utils.EnsurePath$InitialHelper$1.call(EnsurePath.java:148) [curator-client-2.5.0.jar:na]
	at org.apache.curator.RetryLoop.callWithRetry(RetryLoop.java:107) [curator-client-2.5.0.jar:na]
	at org.apache.curator.utils.EnsurePath$InitialHelper.ensure(EnsurePath.java:140) [curator-client-2.5.0.jar:na]
	at org.apache.curator.utils.EnsurePath.ensure(EnsurePath.java:99) [curator-client-2.5.0.jar:na]
	at org.apache.curator.framework.imps.NamespaceImpl.fixForNamespace(NamespaceImpl.java:74) [curator-framework-2.5.0.jar:na]
	at org.apache.curator.framework.imps.NamespaceImpl.newNamespaceAwareEnsurePath(NamespaceImpl.java:87) [curator-framework-2.5.0.jar:na]
	at org.apache.curator.framework.imps.CuratorFrameworkImpl.newNamespaceAwareEnsurePath(CuratorFrameworkImpl.java:468) [curator-framework-2.5.0.jar:na]
	at org.apache.curator.framework.recipes.cache.PathChildrenCache.<init>(PathChildrenCache.java:223) [curator-recipes-2.5.0.jar:na]
	at org.apache.curator.framework.recipes.cache.PathChildrenCache.<init>(PathChildrenCache.java:182) [curator-recipes-2.5.0.jar:na]
	at org.apache.curator.x.discovery.details.ServiceCacheImpl.<init>(ServiceCacheImpl.java:65) [curator-x-discovery-2.5.0.jar:na]
	at org.apache.curator.x.discovery.details.ServiceCacheBuilderImpl.build(ServiceCacheBuilderImpl.java:47) [curator-x-discovery-2.5.0.jar:na]
	at org.apache.drill.exec.coord.zk.ZKClusterCoordinator.<init>(ZKClusterCoordinator.java:81) [drill-java-exec-0.4.0-incubating-rebuffed.jar:0.4.0-incubating]
	at org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:146) [drill-java-exec-0.4.0-incubating-rebuffed.jar:0.4.0-incubating]
	at org.apache.drill.jdbc.DrillConnectionImpl.<init>(DrillConnectionImpl.java:90) [drill-jdbc-0.4.0-incubating.jar:0.4.0-incubating]
	at org.apache.drill.jdbc.DrillJdbc41Factory$DrillJdbc41Connection.<init>(DrillJdbc41Factory.java:87) [drill-jdbc-0.4.0-incubating.jar:0.4.0-incubating]
	at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:56) [drill-jdbc-0.4.0-incubating.jar:0.4.0-incubating]
	at org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:43) [drill-jdbc-0.4.0-incubating.jar:0.4.0-incubating]
	at org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:51) [drill-jdbc-0.4.0-incubating.jar:0.4.0-incubating]
	at net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126) [optiq-avatica-0.9-20140730.000003-7.jar:na]
	at sqlline.SqlLine$DatabaseConnection.connect(SqlLine.java:4732) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine$DatabaseConnection.getConnection(SqlLine.java:4786) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine$Commands.connect(SqlLine.java:4026) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine$Commands.connect(SqlLine.java:3935) [sqlline-1.1.6.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_11]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_11]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_11]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_11]
	at sqlline.SqlLine$ReflectiveCommandHandler.execute(SqlLine.java:2884) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine.dispatch(SqlLine.java:885) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine.initArgs(SqlLine.java:693) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine.begin(SqlLine.java:745) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine.start(SqlLine.java:498) [sqlline-1.1.6.jar:na]
	at sqlline.SqlLine.main(SqlLine.java:460) [sqlline-1.1.6.jar:na]




--
This message was sent by Atlassian JIRA
(v6.2#6252)