[ 
https://issues.apache.org/jira/browse/HIVE-10735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14570311#comment-14570311
 ] 

Gopal V commented on HIVE-10735:
--------------------------------

This patch fails to run basic query27 still

{code}
Caused by: java.lang.NullPointerException
        at 
org.apache.hadoop.hive.serde2.WriteBuffers$Position.access$002(WriteBuffers.java:44)
        at 
org.apache.hadoop.hive.serde2.WriteBuffers.setReadPoint(WriteBuffers.java:125)
        at 
org.apache.hadoop.hive.ql.exec.persistence.BytesBytesMultiHashMap.isSameKey(BytesBytesMultiHashMap.java:705)
        at 
org.apache.hadoop.hive.ql.exec.persistence.BytesBytesMultiHashMap.findKeyRefToRead(BytesBytesMultiHashMap.java:630)
        at 
org.apache.hadoop.hive.ql.exec.persistence.BytesBytesMultiHashMap.getValueResult(BytesBytesMultiHashMap.java:494)
        at 
org.apache.hadoop.hive.ql.exec.persistence.HybridHashTableContainer$ReusableRowContainer.setDirect(HybridHashTableContainer.java:896)
        at 
org.apache.hadoop.hive.ql.exec.persistence.HybridHashTableContainer$GetAdaptor.setDirect(HybridHashTableContainer.java:713)
        at 
org.apache.hadoop.hive.ql.exec.vector.mapjoin.optimized.VectorMapJoinOptimizedHashTable.doLookup(VectorMapJoinOptimizedHashTable.java:76)
        at 
org.apache.hadoop.hive.ql.exec.vector.mapjoin.optimized.VectorMapJoinOptimizedHashMultiSet.contains(VectorMapJoinOptimizedHashMultiSet.java:92)
        at 
org.apache.hadoop.hive.ql.exec.vector.mapjoin.optimized.VectorMapJoinOptimizedLongHashMultiSet.contains(VectorMapJoinOptimizedLongHashMultiSet.java:72)
        at 
org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerBigOnlyLongOperator.process(VectorMapJoinInnerBigOnlyLongOperator.java:188)
{code}

> LLAP: Cached plan race condition - VectorMapJoinCommonOperator has no 
> closeOp()
> -------------------------------------------------------------------------------
>
>                 Key: HIVE-10735
>                 URL: https://issues.apache.org/jira/browse/HIVE-10735
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Vectorization
>            Reporter: Gopal V
>            Assignee: Matt McCline
>            Priority: Critical
>         Attachments: HIVE-10705.01.patch
>
>
> Looks like some state is mutated during execution across threads in LLAP. 
> Either we can't share the operator objects across threads, because they are 
> tied to the data objects per invocation or this is missing a closeOp() which 
> resets the common-setup between reuses.
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> org.apache.hadoop.hive.ql.metadata.HiveException: 
> java.lang.ArrayIndexOutOfBoundsException
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerBigOnlyLongOperator.process(VectorMapJoinInnerBigOnlyLongOperator.java:380)
>       at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:850)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.process(VectorFilterOperator.java:114)
>       at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:850)
>       at 
> org.apache.hadoop.hive.ql.exec.TableScanOperator.process(TableScanOperator.java:97)
>       at 
> org.apache.hadoop.hive.ql.exec.MapOperator$MapOpCtx.forward(MapOperator.java:164)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.VectorMapOperator.process(VectorMapOperator.java:45)
>       ... 18 more
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> java.lang.ArrayIndexOutOfBoundsException
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerLongOperator.process(VectorMapJoinInnerLongOperator.java:379)
>       at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:850)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinGenerateResultOperator.forwardBigTableBatch(VectorMapJoinGenerateResultOperator.java:599)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerBigOnlyGenerateResultOperator.generateHashMultiSetResultRepeatedAll(VectorMapJoinInnerBigOnlyGenerateResultOperator.java:304)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerBigOnlyGenerateResultOperator.finishInnerBigOnlyRepeated(VectorMapJoinInnerBigOnlyGenerateResultOperator.java:328)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerBigOnlyLongOperator.process(VectorMapJoinInnerBigOnlyLongOperator.java:201)
>       ... 24 more
> Caused by: java.lang.ArrayIndexOutOfBoundsException
>       at 
> org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector.setVal(BytesColumnVector.java:152)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.VectorDeserializeRow$StringReaderByValue.apply(VectorDeserializeRow.java:349)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.VectorDeserializeRow.deserializeByValue(VectorDeserializeRow.java:688)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinGenerateResultOperator.generateHashMapResultSingleValue(VectorMapJoinGenerateResultOperator.java:177)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerGenerateResultOperator.finishInner(VectorMapJoinInnerGenerateResultOperator.java:201)
>       at 
> org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerLongOperator.process(VectorMapJoinInnerLongOperator.java:359)
>       ... 29 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to