Hi,

I'm trying to establish a JDBC connection via zookeeper running on
localhost but I gen an exception when trying to connect.

Setup:
 - Drill 1.1  (using the standard drill-override.conf (unmodified))
 - zookeeper is running on localhost (default config)
 - drillbit is running correctly
 - drill-localhost running fine and queries are working fine

I get this error:
 - org.springframework.web.util.NestedServletException: Handler processing
failed; nested exception is java.lang.IllegalAccessError: tried to access
method com.google.common.base.Stopwatch.<init>()V from class
org.apache.drill.common.util.PathScanner
 - Caused by: java.lang.IllegalAccessError: tried to access method
com.google.common.base.Stopwatch.<init>()V from class
org.apache.drill.common.util.PathScanner


Here is a simpliefied version of my connection that is throwing the
exception:

conn = 
DriverManager.getConnection("jdbc:drill:zk=127.0.0.1:2181/drill/drillbits1;schema=dfs.tmp",
"root", "root");


Does anyone know what  I'm doing wrong?

I based this attempt on:
 - https://drill.apache.org/docs/using-the-jdbc-driver/
 - Information in the workaround for this:
https://issues.apache.org/jira/browse/DRILL-3075

Regards,
 -Stefan

Reply via email to