drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jinfeng Ni <jinfengn...@gmail.com>
Subject Re: Can't Start Drill .
Date Fri, 18 Apr 2014 17:36:02 GMT
That doc seems a bit old.  If you want to use local ZK, try this for
sqlline:

./sqlline -u jdbc:drill:zk=local -n admin -p admin

then, in sqlline, run query like:

select R_REGIONKEY from dfs.`/Users/path_to_sample-data/region.parquet`;

Note the backtick character in the path to the parquet file.



On Fri, Apr 18, 2014 at 10:13 AM, Timothy Chen <tnachen@gmail.com> wrote:

> Looks like it's looking for zookeeper but cannot connect to it.
>
> I don't believe we start zookeeper for you via drillbit, so please
> start zk and try again.
>
>
> Tim
>
> On Fri, Apr 18, 2014 at 1:56 AM, 范荣盛 <fanrsh@inspur.com> wrote:
> > Hi,
> >   I am new to drill.I compiled drill follow
> https://cwiki.apache.org/confluence/display/DRILL/Compiling+Drill+from+source,and when
i start drill ,there are some problems,
> >   Can u help me?
> >   Thanks,
> >    Fan
> >
> > 16:48:29.410 [main] ERROR com.netflix.curator.ConnectionState -
> Connection timed out for connection string (localhost:2181) and timeout
> (5000) / elapsed (5059)
> > org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss
> > at
> com.netflix.curator.ConnectionState.getZooKeeper(ConnectionState.java:94)
> ~[curator-client-1.1.9.jar:na]
> > at
> com.netflix.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:106)
> [curator-client-1.1.9.jar:na]
> > at
> com.netflix.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:393)
> [curator-framework-1.1.9.jar:na]
> > at
> com.netflix.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:184)
> [curator-framework-1.1.9.jar:na]
> > at
> com.netflix.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:173)
> [curator-framework-1.1.9.jar:na]
> > at com.netflix.curator.RetryLoop.callWithRetry(RetryLoop.java:85)
> [curator-client-1.1.9.jar:na]
> > at
> com.netflix.curator.framework.imps.GetChildrenBuilderImpl.pathInForeground(GetChildrenBuilderImpl.java:169)
> [curator-framework-1.1.9.jar:na]
> > at
> com.netflix.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:161)
> [curator-framework-1.1.9.jar:na]
> > at
> com.netflix.curator.framework.imps.GetChildrenBuilderImpl.forPath(GetChildrenBuilderImpl.java:36)
> [curator-framework-1.1.9.jar:na]
> > at
> com.netflix.curator.x.discovery.details.ServiceDiscoveryImpl.getChildrenWatched(ServiceDiscoveryImpl.java:306)
> [curator-x-discovery-1.1.9.jar:na]
> > at
> com.netflix.curator.x.discovery.details.ServiceDiscoveryImpl.queryForInstances(ServiceDiscoveryImpl.java:276)
> [curator-x-discovery-1.1.9.jar:na]
> > at
> com.netflix.curator.x.discovery.details.ServiceCache.refresh(ServiceCache.java:193)
> [curator-x-discovery-1.1.9.jar:na]
> > at
> com.netflix.curator.x.discovery.details.ServiceCache.start(ServiceCache.java:116)
> [curator-x-discovery-1.1.9.jar:na]
> > at
> org.apache.drill.exec.coord.ZKClusterCoordinator.start(ZKClusterCoordinator.java:89)
> [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
> > at
> org.apache.drill.exec.client.DrillClient.connect(DrillClient.java:116)
> [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
> > at
> org.apache.drill.jdbc.DrillConnectionImpl.<init>(DrillConnectionImpl.java:85)
> [drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
> > at
> org.apache.drill.jdbc.DrillJdbc41Factory$DrillJdbc41Connection.<init>(DrillJdbc41Factory.java:87)
> [drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
> > at
> org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:56)
> [drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
> > at
> org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:43)
> [drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
> > at
> org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:51)
> [drill-sqlparser-1.0.0-m2-incubating-SNAPSHOT.jar:1.0.0-m2-incubating-SNAPSHOT]
> > at
> net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:121)
> [optiq-avatica-0.4.18.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.7.0_51]
> > at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> ~[na:1.7.0_51]
> > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[na:1.7.0_51]
> > at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_51]
> > 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]
> >
> >
> >
> > 范荣盛
> > 系统软件部
> > 浪潮电子信息产业股份有限公司
> > E-mail:fanrsh@inspur.com
> > 地址:济南市高新区浪潮路1036号浪潮科技园S05北二楼
> > 邮编:250101
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message