[
https://issues.apache.org/jira/browse/DRILL-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aditya Kishore updated DRILL-1409:
----------------------------------
Description:
DbVisualizer gives an error message when specifying a URL for an embedded
instance of Drill when the functionality is not supported. Should provide a
more clear message.
---
(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: (exception moved to
comment...)
was:
DbVisualizer gives an error message when specifying a URL for an embedded
instance of Drill when the functionality is not supported. Should provide a
more clear message.
---
(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
> DbVisualizer fails to connect to Drill using embedded jdbc driver
> -----------------------------------------------------------------
>
> Key: DRILL-1409
> URL: https://issues.apache.org/jira/browse/DRILL-1409
> Project: Apache Drill
> Issue Type: Improvement
> Components: Client - JDBC
> Affects Versions: 0.5.0
> Reporter: Jim Scott
>
> DbVisualizer gives an error message when specifying a URL for an embedded
> instance of Drill when the functionality is not supported. Should provide a
> more clear message.
> ---
> (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: (exception moved to
> comment...)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)