You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2015/03/25 06:06:52 UTC

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

Gopal V created HIVE-10082:
------------------------------

             Summary: 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
             Fix For: llap


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)