could be Netty versions mismatch: between version drill is using and your
project is using.
In netty-4.0.27.Final clear() is not "final"
From: Rajesh Chejerla
To: u...@drill.apache.org; dev@drill.apache.org
Sent: Tuesday, July 19, 2016 6:27 AM
Subject: Getting java.lang.VerifyError: class
io.netty.buffer.UnsafeDirectLittleEndian
Hi,
I'm getting "java.lang.VerifyError: class
io.netty.buffer.UnsafeDirectLittleEndian" error while getting connection to
database. This is happening when I use another library(vert.x-web) along
with apache-drill.
Could you please help on this issue.
java.lang.VerifyError: class io.netty.buffer.UnsafeDirectLittleEndian
overrides final method clear.()Lio/netty/buffer/ByteBuf;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at
io.netty.buffer.PooledByteBufAllocatorL.(PooledByteBufAllocatorL.java:56)
at
org.apache.drill.exec.memory.AllocationManager.(AllocationManager.java:60)
at
org.apache.drill.exec.memory.BaseAllocator.(BaseAllocator.java:44)
at
org.apache.drill.exec.memory.RootAllocatorFactory.newRoot(RootAllocatorFactory.java:38)
at
org.apache.drill.jdbc.impl.DrillConnectionImpl.(DrillConnectionImpl.java:140)
at
org.apache.drill.jdbc.impl.DrillJdbc41Factory.newDrillConnection(DrillJdbc41Factory.java:64)
at
org.apache.drill.jdbc.impl.DrillFactory.newConnection(DrillFactory.java:69)
at
net.hydromatic.avatica.UnregisteredDriver.connect(UnregisteredDriver.java:126)
at org.apache.drill.jdbc.Driver.connect(Driver.java:72)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:270)
at
com.gainsight.services.data.transformer.drill.api.impl.DrillServiceImpl.submitDrillQuerySync(DrillServiceImpl.java:48)
at
com.gainsight.services.dataprocessing.dataprocessor.dagdataprocessor.nirmata.utils.NirmataUtils.transformQuery(NirmataUtils.java:54)
at
com.gainsight.services.dataprocessing.dataprocessor.dagdataprocessor.nirmata.executors.TrasnsformExecutor$1.execute(TrasnsformExecutor.java:30)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:310)
at
com.nirmata.workflow.details.WorkflowManagerImpl.executeTask(WorkflowManagerImpl.java:553)
at
com.nirmata.workflow.details.WorkflowManagerImpl.lambda$null$9(WorkflowManagerImpl.java:591)
at
com.nirmata.workflow.queue.zookeeper.SimpleQueue.processNode(SimpleQueue.java:274)
at
com.nirmata.workflow.queue.zookeeper.SimpleQueue.runLoop(SimpleQueue.java:228)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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)
--
Thanks & Regards,
Rajesh Chejerla