jdbc connection problems

2015-07-15 Thread Stefán Baxter
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 - dril

Re: jdbc connection problems

2015-07-15 Thread Stefán Baxter
btw. I tried all versions of the connection string I could find references to. (Just to make sure it was not a strange exception for a bad connection string) -Stefna On Wed, Jul 15, 2015 at 10:01 PM, Stefán Baxter wrote: > Hi, > > I'm trying to establish a JDBC connection via zookeeper running

Re: jdbc connection problems

2015-07-15 Thread Rajkumar Singh
After looking at the stack I believe google guava-17 is available in the class path, guava 17 deprecated the StopWatch constructor thats why you can see the exception.I will suggest to remove guava-17 and add guava-14 to the class path. Rajkumar Singh MapR Technologies > On Jul 15, 2015, at 3

Re: jdbc connection problems

2015-07-15 Thread Stefán Baxter
ok, I see. Thank you! On Wed, Jul 15, 2015 at 10:47 PM, Rajkumar Singh wrote: > After looking at the stack I believe google guava-17 is available in the > class path, guava 17 deprecated the StopWatch constructor thats why you can > see the exception.I will suggest to remove guava-17 and add gu

Re: jdbc connection problems

2015-07-15 Thread Stefán Baxter
Hi, This continues :(. Either I try to use the full-jdbc driver and have the embedded libraries, many quite dated, clash with mine or I try to use the lightweight driver and have it miss some dependencies. Exception: Caused by: java.lang.NoClassDefFoundError: net/hydromatic/avatica/UnregisteredD

Re: jdbc connection problems

2015-07-15 Thread Jacques Nadeau
You should be using the full jdbc driver. The other one requires all of Drill's dependencies. It sounds like we need to shade Drill's dependencies in the full jar so you don't have a conflict. Can you file a Jira? On Jul 15, 2015 5:16 PM, "Stefán Baxter" wrote: > Hi, > > This continues :(. > >

Re: jdbc connection problems

2015-07-15 Thread Stefán Baxter
Hi, https://issues.apache.org/jira/browse/DRILL-3502 has been created. Regards, -Stefan On Thu, Jul 16, 2015 at 2:56 AM, Jacques Nadeau wrote: > You should be using the full jdbc driver. The other one requires all of > Drill's dependencies. It sounds like we need to shade Drill's dependenci

Re: jdbc connection problems

2015-07-25 Thread Yash Sharma
Hi All, I am trying to integrate Drill with Lens. Lens currently uses Hive as primary execution engine and I am trying to add Drill as the new execution engine. I am facing similar issues with asm jar- org.objectweb.asm.tree Could we also shade asm as part of this activity. Dropped a comment on DR