hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <>
Subject [jira] [Created] (HIVE-15278) PTF+SortMergeJoin = NPE
Date Thu, 24 Nov 2016 00:12:58 GMT
Sergey Shelukhin created HIVE-15278:

             Summary: PTF+SortMergeJoin = NPE
                 Key: HIVE-15278
             Project: Hive
          Issue Type: Bug
            Reporter: Sergey Shelukhin
            Assignee: Sergey Shelukhin

Manifests as
Caused by: java.lang.NullPointerException
	at org.apache.hadoop.hive.ql.exec.persistence.PTFRowContainer.first(
	at org.apache.hadoop.hive.ql.exec.PTFPartition.iterator(
	at org.apache.hadoop.hive.ql.exec.PTFOperator$PTFInvocation.finishPartition(
	at org.apache.hadoop.hive.ql.exec.PTFOperator.process(
	at org.apache.hadoop.hive.ql.exec.Operator.forward(
	at org.apache.hadoop.hive.ql.exec.SelectOperator.process(
	at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordSource$
	... 29 more

It's actually a somewhat subtle ordering problem in sortmerge - as it stands, it calls different
branches of the tree in closeOp after they themselves have already been closed. Other operators
that clean stuff up in close may result in different errors. The common pattern is
   1125         at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordSource$
   1126         at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordSource.pushRecord(
   1127         at org.apache.hadoop.hive.ql.exec.CommonMergeJoinOperator.fetchOneRow(
   1131         at org.apache.hadoop.hive.ql.exec.CommonMergeJoinOperator.joinFinalLeftData(
   1132         at org.apache.hadoop.hive.ql.exec.CommonMergeJoinOperator.closeOp(
   1133         at org.apache.hadoop.hive.ql.exec.Operator.close(
   1139         at org.apache.hadoop.hive.ql.exec.tez.ReduceRecordProcessor.close(

This message was sent by Atlassian JIRA

View raw message