From issues-return-165420-archive-asf-public=cust-asf.ponee.io@hive.apache.org Fri Aug 23 08:14:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1995A180669 for ; Fri, 23 Aug 2019 10:14:04 +0200 (CEST) Received: (qmail 32949 invoked by uid 500); 23 Aug 2019 08:14:03 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 32936 invoked by uid 99); 23 Aug 2019 08:14:03 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Aug 2019 08:14:03 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D16ECE3003 for ; Fri, 23 Aug 2019 08:14:02 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 8730C782299 for ; Fri, 23 Aug 2019 08:14:00 +0000 (UTC) Date: Fri, 23 Aug 2019 08:14:00 +0000 (UTC) From: "Hive QA (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-21698) TezSessionState#ensureLocalResources() causes IndexOutOfBoundsException while localizing resources MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-21698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16914039#comment-16914039 ] Hive QA commented on HIVE-21698: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12978365/HIVE-21698.1.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/18387/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18387/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18387/ 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: 12978365 - 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.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)