hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21698) TezSessionState#ensureLocalResources() causes IndexOutOfBoundsException while localizing resources
Date Fri, 23 Aug 2019 15:41:00 GMT

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

Hive QA commented on HIVE-21698:
--------------------------------



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

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 16745 tests passed

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12978412 - PreCommit-HIVE-Build

> TezSessionState#ensureLocalResources() causes IndexOutOfBoundsException while localizing
resources
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21698
>                 URL: https://issues.apache.org/jira/browse/HIVE-21698
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor, Tez
>    Affects Versions: 3.1.1
>            Reporter: Shubham Chaurasia
>            Assignee: Naresh P R
>            Priority: Major
>         Attachments: HIVE-21698.1.patch, HIVE-21698.2.patch, HIVE-21698.patch
>
>
> The cause of exception is due to [this loops over|https://github.com/apache/hive/blob/rel/release-3.1.1/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java#L633]
{{newFilesNotFromConf}} and tries to access {{newResources.get(i)}} in that.
> Size of {{newResources}} is determined by [utils.localizeTempFiles() here|https://github.com/apache/hive/blob/rel/release-3.1.1/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezSessionState.java#L629]
which may return a smaller list depending upon the {{skipFilesFromConf}} and this would result
in {{newResources.size()}} < {{newFilesNotFromConf.length}} causing IndexOutOfBounds.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message