You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/11/26 00:43:00 UTC

[jira] [Work logged] (HIVE-24073) Execution exception in sort-merge semijoin

     [ https://issues.apache.org/jira/browse/HIVE-24073?focusedWorklogId=516871&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-516871 ]

ASF GitHub Bot logged work on HIVE-24073:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Nov/20 00:42
            Start Date: 26/Nov/20 00:42
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on pull request #1476:
URL: https://github.com/apache/hive/pull/1476#issuecomment-734010074


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 516871)
    Time Spent: 20m  (was: 10m)

> Execution exception in sort-merge semijoin
> ------------------------------------------
>
>                 Key: HIVE-24073
>                 URL: https://issues.apache.org/jira/browse/HIVE-24073
>             Project: Hive
>          Issue Type: Bug
>          Components: Operators
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Working on HIVE-24041, we trigger an additional SJ conversion that leads to this exception at execution time:
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: Attempting to overwrite nextKeyWritables[1]
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.closeOp(GroupByOperator.java:1063)
> 	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:685)
> 	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:707)
> 	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:707)
> 	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:707)
> 	at org.apache.hadoop.hive.ql.exec.Operator.close(Operator.java:707)
> 	at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.close(MapRecordProcessor.java:462)
> 	... 16 more
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.hadoop.hive.ql.metadata.HiveException: Attempting to overwrite nextKeyWritables[1]
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.flush(GroupByOperator.java:1037)
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.closeOp(GroupByOperator.java:1060)
> 	... 22 more
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Attempting to overwrite nextKeyWritables[1]
> 	at org.apache.hadoop.hive.ql.exec.CommonMergeJoinOperator.processKey(CommonMergeJoinOperator.java:564)
> 	at org.apache.hadoop.hive.ql.exec.CommonMergeJoinOperator.process(CommonMergeJoinOperator.java:243)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:887)
> 	at org.apache.hadoop.hive.ql.exec.TezDummyStoreOperator.process(TezDummyStoreOperator.java:49)
> 	at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:887)
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.forward(GroupByOperator.java:1003)
> 	at org.apache.hadoop.hive.ql.exec.GroupByOperator.flush(GroupByOperator.java:1020)
> 	... 23 more
> {code}
> To reproduce, just set {{hive.auto.convert.sortmerge.join}} to {{true}} in the last query in {{auto_sortmerge_join_10.q}} after HIVE-24041 has been merged.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)