[
https://issues.apache.org/jira/browse/HIVE-10082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14379320#comment-14379320
]
Gopal V commented on HIVE-10082:
--------------------------------
To trigger race condition consistently, make the system faster by inlining
deeper into the stack
{code}
./dist/hive/bin/hive --service llap --instances 1 --args "
-XX:MaxInlineSize=600 -XX:FreqInlineSize=128"
{code}
> 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
>
>
> 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)