You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2016/11/04 20:25:58 UTC

[jira] [Commented] (HIVE-15130) Fixing shifting index issue related to object inspector caching

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

Hive QA commented on HIVE-15130:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12837174/HIVE-15130.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 10628 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[join_acid_non_acid] (batchId=150)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=145)
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainanalyze_4] (batchId=91)
org.apache.hive.spark.client.TestSparkClient.testJobSubmission (batchId=272)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1970/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1970/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-1970/

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: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12837174 - PreCommit-HIVE-Build

> Fixing shifting index issue related to object inspector caching
> ---------------------------------------------------------------
>
>                 Key: HIVE-15130
>                 URL: https://issues.apache.org/jira/browse/HIVE-15130
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Reader
>            Reporter: Chao Sun
>            Assignee: Chao Sun
>         Attachments: HIVE-15130.1.patch
>
>
> Hive caches object inspector in memory to avoid recreating the same object.
> However, in {{ArrayWritableObjectInspector}}, the {{equals}} and {{hashCode}} doesn't take account on all attributes of the class, therefore, even though the internal state (e.g., {{adjustedIndex}}) is different, it could still be mapped to the same result. This could cause wrong field index being used when reading Parquet data.



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