Return-Path: X-Original-To: apmail-drill-dev-archive@www.apache.org Delivered-To: apmail-drill-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD8BF18302 for ; Mon, 15 Feb 2016 11:13:18 +0000 (UTC) Received: (qmail 61927 invoked by uid 500); 15 Feb 2016 11:13:18 -0000 Delivered-To: apmail-drill-dev-archive@drill.apache.org Received: (qmail 61863 invoked by uid 500); 15 Feb 2016 11:13:18 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 61798 invoked by uid 99); 15 Feb 2016 11:13:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Feb 2016 11:13:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3AC062C14F4 for ; Mon, 15 Feb 2016 11:13:18 +0000 (UTC) Date: Mon, 15 Feb 2016 11:13:18 +0000 (UTC) From: "Arina Ielchiieva (JIRA)" To: dev@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DRILL-3547) IndexOutOfBoundsException on directory with ~20 subdirectories 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/DRILL-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arina Ielchiieva resolved DRILL-3547. ------------------------------------- Resolution: Cannot Reproduce > IndexOutOfBoundsException on directory with ~20 subdirectories > -------------------------------------------------------------- > > Key: DRILL-3547 > URL: https://issues.apache.org/jira/browse/DRILL-3547 > Project: Apache Drill > Issue Type: Bug > Components: Functions - Drill > Affects Versions: 1.1.0 > Environment: RHEL 7 > Reporter: Philip Deegan > Assignee: Arina Ielchiieva > Fix For: 1.6.0 > > > Tested on 1.1 with commit id: > {noformat} > 0: jdbc:drill:zk=local> select commit_id from sys.version; > +-------------------------------------------+ > | commit_id | > +-------------------------------------------+ > | e3fc7e97bfe712dc09d43a8a055a5135c96b7344 | > +-------------------------------------------+ > {noformat} > Directory has child directories "a" to "u", each contain json files. > Running the query on each subdirectory indivudually does not cause an error. > {noformat} > java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: IndexOutOfBoundsException: index: 0, length: 1 (expected: range(0, 0)) > Fragment 1:2 > [Error Id: 69a0879f-f718-4930-ae6f-c526de05528c on ip-172-31-29-60.eu-central-1.compute.internal:31010] > at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73) > at sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:87) > at sqlline.TableOutputFormat.print(TableOutputFormat.java:118) > at sqlline.SqlLine.print(SqlLine.java:1583) > at sqlline.Commands.execute(Commands.java:852) > at sqlline.Commands.sql(Commands.java:751) > at sqlline.SqlLine.dispatch(SqlLine.java:738) > at sqlline.SqlLine.begin(SqlLine.java:612) > at sqlline.SqlLine.start(SqlLine.java:366) > at sqlline.SqlLine.main(SqlLine.java:259) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)