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 DRILL-3502 as well. I can also help if needed. Please share your thoughts. Thanks On Thu, Jul 16, 2015 at 9:20 AM, Stefán Baxter <[email protected]> wrote: > 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 <[email protected]> > 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 > 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" <[email protected]> > > wrote: > > > > > 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/UnregisteredDriver (Seems to be: > > > https://issues.apache.org/jira/browse/DRILL-2980) > > > > > > Using the *-exec* based maven jdbc dependency seems to download the > whole > > > Internet and it's three neighbors. (has the same effect as using the > > > jdbc-full version) > > > > > > Further assistance would be highly appreciated. > > > > > > Regards, > > > -Stefan > > > > > > > > > > > > On Wed, Jul 15, 2015 at 10:55 PM, Stefán Baxter < > > [email protected] > > > > > > > wrote: > > > > > > > ok, I see. Thank you! > > > > > > > > On Wed, Jul 15, 2015 at 10:47 PM, Rajkumar Singh < > [email protected]> > > > > 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 guava-14 > > to > > > the > > > >> class path. > > > >> > > > >> Rajkumar Singh > > > >> MapR Technologies > > > >> > > > >> > > > >> > On Jul 15, 2015, at 3:46 PM, Stefán Baxter < > > [email protected] > > > > > > > >> wrote: > > > >> > > > > >> > 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 < > > > >> [email protected]> > > > >> > wrote: > > > >> > > > > >> >> 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 > > > >> >> > > > >> > > > >> > > > > > > > > > >
