[
https://issues.apache.org/jira/browse/TAJO-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064531#comment-14064531
]
Mai Hai Thanh commented on TAJO-195:
------------------------------------
Hi [~jihoonson],
I tested the above query in a junit test function with the existing Tajo's
TPC-H testing data set. There is no error and the query finishes with an empty
result set. After checking the tables' content, I found that there is no record
satisfying the query's joining condition. Then, I add one more record to the
{{lineitem}} table as follows
{{3|3|4|2|49|46796.47|0.10|0.00|R|F|1993-11-09|1993-12-20|1993-11-24|TAKE BACK
RETURN|RAIL| unusual accounts. eve|}}
This record is just a copy of the last record with a modification in the 3rd
attribute value from {{6540}} to {{4}}.
Now, the query returns 1 row successfully. So, I think that you may want to
test this query again on your machine. If there is no error and the query
finishes as I mentioned above, we might close this issue.
> Netty returns an exception during data fetch
> --------------------------------------------
>
> Key: TAJO-195
> URL: https://issues.apache.org/jira/browse/TAJO-195
> Project: Tajo
> Issue Type: Bug
> Components: rpc
> Reporter: Jihoon Son
> Attachments: eb_1379898463021_0001_000006.log,
> eb_1379898463021_0001_000007.log, querymaster.log
>
>
> I run the following query on my local machine.
> {code}
> select * from lineitem as l inner join partsupp as ps on l.l_partkey =
> ps.ps_partkey and l.l_suppkey = ps.ps_suppkey inner join part as p on
> ps.ps_partkey = p.p_partkey inner join supplier as s on ps.ps_suppkey =
> s.s_suppkey;
> {code}
> Exception message as follows
> {code}
> 2013. 9. 23 AM 10:18:19 org.jboss.netty.channel.SimpleChannelUpstreamHandler
> WARN: EXCEPTION, please implement
> org.apache.tajo.worker.Fetcher$HttpClientHandler.exceptionCaught() for proper
> handling.
> java.lang.NegativeArraySizeException
> at
> org.jboss.netty.buffer.HeapChannelBuffer.<init>(HeapChannelBuffer.java:42)
> at
> org.jboss.netty.buffer.BigEndianHeapChannelBuffer.<init>(BigEndianHeapChannelBuffer.java:34)
> at
> org.jboss.netty.buffer.ChannelBuffers.buffer(ChannelBuffers.java:134)
> at
> org.jboss.netty.buffer.HeapChannelBufferFactory.getBuffer(HeapChannelBufferFactory.java:68)
> at
> org.jboss.netty.buffer.AbstractChannelBuffer.readBytes(AbstractChannelBuffer.java:307)
> at
> org.jboss.netty.handler.codec.replay.ReplayingDecoderBuffer.readBytes(ReplayingDecoderBuffer.java:359)
> at
> org.jboss.netty.handler.codec.http.HttpMessageDecoder.decode(HttpMessageDecoder.java:295)
> at
> org.jboss.netty.handler.codec.http.HttpClientCodec$Decoder.decode(HttpClientCodec.java:139)
> at
> org.jboss.netty.handler.codec.http.HttpClientCodec$Decoder.decode(HttpClientCodec.java:127)
> at
> org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:502)
> at
> org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
> at
> org.jboss.netty.handler.codec.http.HttpClientCodec.handleUpstream(HttpClientCodec.java:92)
> at
> org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> at
> org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
> at
> org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:84)
> at
> org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:471)
> at
> org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:332)
> at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)