incubator-drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Scott <jsc...@maprtech.com>
Subject jdbc driver usage
Date Fri, 12 Sep 2014 04:37:28 GMT
I have pulled down the new 0.5 build and I have decided to try to get
dbvisualizer working with this driver.


*(If there is something I have wrong here, please let me know)*
When I use this jar: jars/jdbc-driver/drill-jdbc-all-0.5.0-incubating.jar
and this driver: org.apache.drill.jdbc.Driver
with this URL: jdbc:drill:zk=local
I get the following while establishing the connection:
Long Message:
org/eclipse/jetty/server/Handler

Details:
   Type: java.lang.NoClassDefFoundError

Stack Trace:
java.lang.NoClassDefFoundError: org/eclipse/jetty/server/Handler
   at
org.apache.drill.jdbc.DrillConnectionImpl.<init>(DrillConnectionImpl.java:75)
   at
org.apache.drill.jdbc.DrillJdbc41Factory$DrillJdbc41Connection.<init>(DrillJdbc41Factory.java:87)
   at
org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:56)
   at
org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:43)
   at org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:51)
   at
net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
   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:483)
   at com.onseven.dbvis.g.B.D.ā(Z:1413)
   at com.onseven.dbvis.g.B.F$A.call(Z:1474)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException:
org.eclipse.jetty.server.Handler
   at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   ... 16 more


-- 
*Jim Scott*
Director, Enterprise Strategy & Architecture

 <http://www.mapr.com/>
[image: MapR Technologies] <http://www.mapr.com>

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