drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victoria Markman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-2710) NPE in a regression run of joins/order_by/queries/q16.sql on an 8 node cluster
Date Tue, 07 Apr 2015 16:17:13 GMT
Victoria Markman created DRILL-2710:
---------------------------------------

             Summary: NPE in a regression run of joins/order_by/queries/q16.sql on an 8 node
cluster
                 Key: DRILL-2710
                 URL: https://issues.apache.org/jira/browse/DRILL-2710
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Victoria Markman
            Assignee: Victoria Markman


Assigning to myself to debug. Will change summary as soon as I figure out the easier way to
reproduce the problem.

{code}
/root/drillAutomation/framework/framework/resources/Precommit/Functional/joins/order_by/queries/q16.sql
Query: 
select count(*),
		count(sq1.a1),
		count(sq2.a2),
		min(sq1.a1),
		max(sq1.a1),
		min(sq2.a2),
		max(sq2.a2),
		avg(sq1.a1),
		avg(sq2.a2)
from
        (select c_integer, c_date from j1 order by c_integer asc nulls first) as sq1(a1, b1)
        inner join
        (select c_integer, c_date from j2 order by c_integer asc) as sq2(a2, b2)
        on (sq1.a1 = sq2.a2)
Failed with exception
java.sql.SQLException: exception while executing query: Failure while executing query.
	at net.hydromatic.avatica.Helper.createException(Helper.java:40)
	at net.hydromatic.avatica.AvaticaConnection.executeQueryInternal(AvaticaConnection.java:406)
	at net.hydromatic.avatica.AvaticaStatement.executeQueryInternal(AvaticaStatement.java:351)
	at net.hydromatic.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:78)
	at org.apache.drill.test.framework.DrillTestJdbc.executeQuery(DrillTestJdbc.java:139)
	at org.apache.drill.test.framework.DrillTestJdbc.run(DrillTestJdbc.java:80)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.sql.SQLException: Failure while executing query.
	at org.apache.drill.jdbc.DrillCursor.next(DrillCursor.java:144)
	at org.apache.drill.jdbc.DrillResultSet.execute(DrillResultSet.java:105)
	at org.apache.drill.jdbc.DrillResultSet.execute(DrillResultSet.java:44)
	at net.hydromatic.avatica.AvaticaConnection.executeQueryInternal(AvaticaConnection.java:404)
	... 9 more
Caused by: org.apache.drill.exec.rpc.RpcException: NullPointerException: 

	at org.apache.drill.exec.rpc.user.QueryResultHandler.resultArrived(QueryResultHandler.java:111)
	at org.apache.drill.exec.rpc.user.UserClient.handleReponse(UserClient.java:100)
	at org.apache.drill.exec.rpc.BasicClientWithConnection.handle(BasicClientWithConnection.java:52)
	at org.apache.drill.exec.rpc.BasicClientWithConnection.handle(BasicClientWithConnection.java:34)
	at org.apache.drill.exec.rpc.RpcBus.handle(RpcBus.java:57)
	at org.apache.drill.exec.rpc.RpcBus$InboundHandler.decode(RpcBus.java:194)
	at org.apache.drill.exec.rpc.RpcBus$InboundHandler.decode(RpcBus.java:173)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:161)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
	at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130)
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
	... 1 more

{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message