drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya <adityakish...@gmail.com>
Subject Re: Connecting to Drill via DBVizualizer
Date Thu, 02 Apr 2015 16:39:02 GMT
You seem to have a pre 14.x guava (guava-13.0.1.jar or older) in the class
path. Please look in DbVisualizer's java library folder.

On Wed, Apr 1, 2015 at 4:33 PM, Sudhir Rama Rao <ysudhir@gmail.com> wrote:

> Hi there, I am trying to connect to Drill via DBVisualizer.  We
> use DBVisualizer to connect to Hive, Oracle, Mysql etc
>
> This is the error I see when i load drill-jdbc-all-0.8.0.jar for Driver
> Manager
>
> Caused by: java.lang.NoSuchMethodError:
> com.google.common.base.Stopwatch.elapsed(Ljava/util/concurrent/TimeUnit;)J
>
>
> Full Error Mesg :
>
>
> *Product: DbVisualizer Pro 9.2.5 [Build #2431] [EVALUATION]*
> *OS: Mac OS X*
> *OS Version: 10.10.2*
> *OS Arch: x86_64*
> *Java Version: 1.8.0_25*
> *Java VM: Java HotSpot(TM) 64-Bit Server VM*
> *Java Vendor: Oracle Corporation*
> *Java Home: /Library/Internet
> Plug-Ins/JavaAppletPlugin.plugin/Contents/Home*
> *DbVis Home: /Applications/DbVisualizer.app/Contents/java/app*
>
>
> *An error occurred while establishing the connection:*
>
> *Details:*
> *   Type: java.lang.reflect.UndeclaredThrowableException*
>
> *Stack Trace:*
> *java.lang.reflect.UndeclaredThrowableException*
> *   at com.sun.proxy.$Proxy19.connect(Unknown Source)*
> *   at com.onseven.dbvis.db.A.G.ń(Z:3382)*
> *   at com.onseven.dbvis.db.A.G.ij(Z:2721)*
> *   at com.onseven.dbvis.db.A.I.ij(Z:1783)*
> *   at com.onseven.dbvis.db.A.B.execute(Z:2933)*
> *   at com.onseven.dbvis.K.B.Y.ā(Z:112)*
> *   at com.onseven.dbvis.K.B.K.Ă(Z:1374)*
> *   at com.onseven.dbvis.K.B.K.doInBackground(Z:1521)*
> *   at javax.swing.SwingWorker$1.call(SwingWorker.java:295)*
> *   at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
> *   at javax.swing.SwingWorker.run(SwingWorker.java:334)*
> *   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.Exception: java.lang.NoSuchMethodError:
> com.google.common.base.Stopwatch.elapsed(Ljava/util/concurrent/TimeUnit;)J*
> *   at com.onseven.dbvis.h.B.F$A.call(Z:37)*
> *   at java.util.concurrent.FutureTask.run(FutureTask.java:266)*
> *   ... 3 more*
> *Caused by: java.lang.NoSuchMethodError:
> com.google.common.base.Stopwatch.elapsed(Ljava/util/concurrent/TimeUnit;)J*
> *   at
>
> org.apache.drill.common.util.PathScanner.scanForImplementations(PathScanner.java:98)*
> *   at
>
> org.apache.drill.common.util.PathScanner.scanForImplementationsArr(PathScanner.java:77)*
> *   at
>
> org.apache.drill.common.logical.data.LogicalOperatorBase.getSubTypes(LogicalOperatorBase.java:88)*
> *   at
> org.apache.drill.common.config.DrillConfig.<init>(DrillConfig.java:74)*
> *   at
> org.apache.drill.common.config.DrillConfig.create(DrillConfig.java:166)*
> *   at
> org.apache.drill.common.config.DrillConfig.create(DrillConfig.java:139)*
> *   at
> org.apache.drill.common.config.DrillConfig.create(DrillConfig.java:94)*
> *   at
> org.apache.drill.exec.client.DrillClient.<init>(DrillClient.java:85)*
> *   at
>
> org.apache.drill.jdbc.DrillConnectionImpl.<init>(DrillConnectionImpl.java:97)*
> *   at
>
> org.apache.drill.jdbc.DrillJdbc41Factory$DrillJdbc41Connection.<init>(DrillJdbc41Factory.java:94)*
> *   at
>
> org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:57)*
> *   at
>
> org.apache.drill.jdbc.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:43)*
> *   at
> org.apache.drill.jdbc.DrillFactory.newConnection(DrillFactory.java:54)*
> *   at
>
> net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)*
> *   at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)*
> *   at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)*
> *   at java.lang.reflect.Method.invoke(Method.java:483)*
> *   at com.onseven.dbvis.h.B.D.ā(Z:2005)*
> *   at com.onseven.dbvis.h.B.F$A.call(Z:131)*
> *   ... 4 more*
>

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