[ https://issues.apache.org/jira/browse/HIVE-10082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gunther Hagleitner updated HIVE-10082: -------------------------------------- Attachment: HIVE-10082.2.patch > LLAP: UnwrappedRowContainer throws exceptions > --------------------------------------------- > > Key: HIVE-10082 > URL: https://issues.apache.org/jira/browse/HIVE-10082 > Project: Hive > Issue Type: Bug > Affects Versions: llap > Reporter: Gopal V > Assignee: Gunther Hagleitner > Fix For: llap > > Attachments: HIVE-10082.1.patch, HIVE-10082.2.patch > > > TPC-DS Query27 runs with map-joins enabled results in errors originating from > these lines in UnwrappedRowContainer::unwrap() > {code} > for (int index : valueIndex) { > if (index >= 0) { > unwrapped.add(currentKey == null ? null : currentKey[index]); > } else { > unwrapped.add(values.get(-index - 1)); > } > } > {code} > {code} > Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.exec.persistence.UnwrapRowContainer.unwrap(UnwrapRowContainer.java:79) > at > org.apache.hadoop.hive.ql.exec.persistence.UnwrapRowContainer.first(UnwrapRowContainer.java:62) > at > org.apache.hadoop.hive.ql.exec.persistence.UnwrapRowContainer.first(UnwrapRowContainer.java:33) > at > org.apache.hadoop.hive.ql.exec.CommonJoinOperator.genAllOneUniqueJoinObject(CommonJoinOperator.java:670) > at > org.apache.hadoop.hive.ql.exec.CommonJoinOperator.checkAndGenObject(CommonJoinOperator.java:754) > at > org.apache.hadoop.hive.ql.exec.MapJoinOperator.process(MapJoinOperator.java:341) > {code} > This is intermittent and does not cause query failures as the retries > succeed, but slows down the query by an entire wave due to the retry. -- This message was sent by Atlassian JIRA (v6.3.4#6332)