You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2014/06/23 03:21:24 UTC

[jira] [Commented] (TAJO-885) Selecting few columns from table with GROUP BY/LIMIT query crashes

    [ https://issues.apache.org/jira/browse/TAJO-885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14040330#comment-14040330 ] 

Jihoon Son commented on TAJO-885:
---------------------------------

Hi [~prafulla], 
I met the same error before, and it was due to the wrong compile option of hadoop version.
For example, if you use hadoop 2.2.0, tajo should be built with the option '-Dhadoop.version=2.2.0'.
Would you check that tajo is built for the proper hadoop version?

> Selecting few columns from table with GROUP BY/LIMIT query crashes
> ------------------------------------------------------------------
>
>                 Key: TAJO-885
>                 URL: https://issues.apache.org/jira/browse/TAJO-885
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Prafulla T
>            Assignee: Hyunsik Choi
>
> Prepare query as described in TAJO-443
> Run following query to reproduce problem
> {noformat}
> default> select id from table1 group by id;
> Progress: 50%, response time: 0.392 sec
> ERROR: 1
> java.lang.ArrayIndexOutOfBoundsException: 1
> 	at org.apache.tajo.util.BitArray.fromByteBuffer(BitArray.java:84)
> 	at org.apache.tajo.storage.RawFile$RawFileScanner.next(RawFile.java:243)
> 	at org.apache.tajo.engine.planner.physical.SeqScanExec.next(SeqScanExec.java:252)
> 	at org.apache.tajo.engine.planner.physical.HashAggregateExec.compute(HashAggregateExec.java:51)
> 	at org.apache.tajo.engine.planner.physical.HashAggregateExec.next(HashAggregateExec.java:87)
> 	at org.apache.tajo.engine.planner.physical.StoreTableExec.next(StoreTableExec.java:77)
> 	at org.apache.tajo.worker.Task.run(Task.java:388)
> 	at org.apache.tajo.worker.TaskRunner$1.run(TaskRunner.java:406)
> 	at java.lang.Thread.run(Thread.java:724)
> {noformat}
> Following query works fine.
> {noformat}
> default> select id from table1;
> Progress: 100%, response time: 0.096 sec
> id
> -------------------------------
> 2
> 2
> 2
> 2
> ..
> ..
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)