Seungun Choe created TAJO-822:
---------------------------------

             Summary: Appare NPE at createSortAggregation
                 Key: TAJO-822
                 URL: https://issues.apache.org/jira/browse/TAJO-822
             Project: Tajo
          Issue Type: Bug
            Reporter: Seungun Choe


{code}
2014-05-12 09:59:28,113 INFO org.apache.tajo.worker.TaskRunner: Request 
GetTask: eb_1399855530957_0002_000006,container_1399855530957_0002_01_000004
2014-05-12 09:59:28,237 INFO org.apache.tajo.worker.TaskRunner: Accumulated 
Received Task: 3
2014-05-12 09:59:28,237 INFO org.apache.tajo.worker.TaskRunner: Initializing: 
ta_1399855530957_0002_000006_000000_02
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.TaskAttemptContext: Query 
status of ta_1399855530957_0002_000006_000000_02 is changed to TA_PENDING
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.Task: 
==================================
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.Task: * Subquery 
ta_1399855530957_0002_000006_000000_02 is initialized
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.Task: * InterQuery: true, 
Use HASH_SHUFFLE shuffle
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.Task: * Fragments (num: 3)
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.Task: * Fetches (total:0) :
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.Task: * Local task dir: 
file:/data3/tmp/tajo-localdir/q_1399855530957_0002/output/6/0_2
2014-05-12 09:59:28,289 INFO org.apache.tajo.worker.Task: 
==================================
2014-05-12 09:59:28,290 INFO org.apache.tajo.worker.TaskAttemptContext: Query 
status of ta_1399855530957_0002_000006_000000_02 is changed to TA_RUNNING
2014-05-12 09:59:28,290 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: 
[ta_1399855530957_0002_000006_000000_02] the volume of Left relations 
(db_name.table1) is 3.2 GiB and is not fit to main maemory.
2014-05-12 09:59:28,291 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: 
[ta_1399855530957_0002_000006_000000_02] the volume of Right relations 
(db_name.table3) is 116.2 KiB and is fit to main maemory.
2014-05-12 09:59:28,291 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: Join (28) chooses 
[In-memory Hash Join]
2014-05-12 09:59:28,291 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: 
[ta_1399855530957_0002_000006_000000_02] Right relations db_name.table3 (116.2 
KiB) is smaller than Left relations db_name.table1 (3.2 GiB).
2014-05-12 09:59:28,292 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: 
[ta_1399855530957_0002_000006_000000_02] the volume of Left relations 
(db_name.table1, db_name.table3) is 3.2 GiB and is not fit to main maemory.
2014-05-12 09:59:28,292 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: 
[ta_1399855530957_0002_000006_000000_02] the volume of Right relations 
(db_name.table2) is 33.5 KiB and is fit to main maemory.
2014-05-12 09:59:28,292 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: Join (29) chooses 
[In-memory Hash Join]
2014-05-12 09:59:28,293 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: 
[ta_1399855530957_0002_000006_000000_02] Right relations db_name.table2 (33.5 
KiB) is smaller than Left relations db_name.table1, db_name.table3 (3.2 GiB).
2014-05-12 09:59:28,294 INFO 
org.apache.tajo.engine.planner.PhysicalPlannerImpl: The planner chooses [Sort 
Aggregation] in (db_name.vtaozinrp1.col1 (TEXT) (asc))
2014-05-12 09:59:28,294 ERROR org.apache.tajo.worker.Task:
java.lang.NullPointerException
{code}

Query consist 5 tables join.
NPE appeared when join condition had null data.
Condtition data is partition data or not.



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

Reply via email to