You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gunther Hagleitner (JIRA)" <ji...@apache.org> on 2015/04/01 22:19:53 UTC

[jira] [Resolved] (HIVE-10082) LLAP: UnwrappedRowContainer throws exceptions

     [ https://issues.apache.org/jira/browse/HIVE-10082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gunther Hagleitner resolved HIVE-10082.
---------------------------------------
    Resolution: Fixed

> 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)