[ https://issues.apache.org/jira/browse/HIVE-12463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15020795#comment-15020795 ]
Hive QA commented on HIVE-12463: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12773228/HIVE-12463.2.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 9 failed/errored test(s), 9834 tests executed *Failed tests:* {noformat} TestHWISessionManager - did not produce a TEST-*.xml file TestMiniLlapCliDriver - did not produce a TEST-*.xml file org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_notin org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_subquery_notin_having org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_explainuser_1 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_dynpart_hashjoin_3 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_smb_empty org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_uri_import org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6096/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6096/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-6096/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 9 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12773228 - PreCommit-HIVE-TRUNK-Build > VectorMapJoinFastKeyStore has Array OOB errors > ---------------------------------------------- > > Key: HIVE-12463 > URL: https://issues.apache.org/jira/browse/HIVE-12463 > Project: Hive > Issue Type: Bug > Components: Vectorization > Affects Versions: 1.3.0, 1.2.1, 2.0.0 > Reporter: Gopal V > Assignee: Gopal V > Attachments: HIVE-12463.1.patch, HIVE-12463.2.patch > > > When combining different sized keys, observing an occasional error in > hashtable probes. > {code} > Caused by: java.lang.ArrayIndexOutOfBoundsException: 162046429 > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastKeyStore.equalKey(VectorMapJoinFastKeyStore.java:150) > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastBytesHashTable.findReadSlot(VectorMapJoinFastBytesHashTable.java:191) > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.fast.VectorMapJoinFastBytesHashMap.lookup(VectorMapJoinFastBytesHashMap.java:76) > at > org.apache.hadoop.hive.ql.exec.vector.mapjoin.VectorMapJoinInnerMultiKeyOperator.process(VectorMapJoinInnerMultiKeyOperator.java:300) > ... 26 more > {code} > {code} > // Our reading is positioned to the key. > writeBuffers.getByteSegmentRefToCurrent(byteSegmentRef, keyLength, > readPos); > byte[] currentBytes = byteSegmentRef.getBytes(); > int currentStart = (int) byteSegmentRef.getOffset(); > for (int i = 0; i < keyLength; i++) { > if (currentBytes[currentStart + i] != keyBytes[keyStart + i]) { > // LOG.debug("VectorMapJoinFastKeyStore equalKey no match on bytes"); > return false; > } > } > {code} > This needs an identical fix to match > {code} > // Rare case of buffer boundary. Unfortunately we'd have to copy some > bytes. > // Rare case of buffer boundary. Unfortunately we'd have to copy some > bytes. > byte[] bytes = new byte[length]; > int destOffset = 0; > while (destOffset < length) { > ponderNextBufferToRead(readPos); > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)