Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9D504200BA1 for ; Mon, 17 Oct 2016 19:53:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9BFFF160AF2; Mon, 17 Oct 2016 17:53:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id EA955160AF0 for ; Mon, 17 Oct 2016 19:52:59 +0200 (CEST) Received: (qmail 18282 invoked by uid 500); 17 Oct 2016 17:52:59 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 18093 invoked by uid 99); 17 Oct 2016 17:52:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 17:52:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 05DE72C4C73 for ; Mon, 17 Oct 2016 17:52:59 +0000 (UTC) Date: Mon, 17 Oct 2016 17:52:59 +0000 (UTC) From: "Khurram Faraaz (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-3365) Query with window function on large dataset fails with "IOException: Mkdirs failed to create spill directory" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 17 Oct 2016 17:53:00 -0000 [ https://issues.apache.org/jira/browse/DRILL-3365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15582914#comment-15582914 ] Khurram Faraaz commented on DRILL-3365: --------------------------------------- I too have hit this on Drill 1.8.0, removing /tmp/drill and then restarting all Drillbits seems to resolve the problem. > Query with window function on large dataset fails with "IOException: Mkdirs failed to create spill directory" > ------------------------------------------------------------------------------------------------------------- > > Key: DRILL-3365 > URL: https://issues.apache.org/jira/browse/DRILL-3365 > Project: Apache Drill > Issue Type: Bug > Components: Execution - Flow > Affects Versions: 1.1.0 > Reporter: Abhishek Girish > Priority: Minor > Fix For: Future > > > Dataset: TPC-DS SF100 Parquet > Query: > {code:sql} > SELECT sum(ss.ss_net_paid_inc_tax) OVER (PARTITION BY ss.ss_store_sk ORDER BY ss.ss_customer_sk) AS PartialSum FROM store_sales ss GROUP BY ss.ss_net_paid_inc_tax, ss.ss_store_sk, ss.ss_customer_sk LIMIT 20; > java.lang.RuntimeException: java.sql.SQLException: SYSTEM ERROR: java.io.IOException: Mkdirs failed to create /tmp/drill/spill/2a74ac18-0679-ab99-26c6-af41b9af7f4e/major_fragment_1/minor_fragment_17/operator_4 (exists=false, cwd=file:///opt/mapr/drill/drill-1.1.0/bin) > Fragment 1:17 > [Error Id: 4905b400-fc0f-4287-beba-d1ca18359986 on abhi5.qa.lab:31010] > at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73) > at sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:85) > at sqlline.TableOutputFormat.print(TableOutputFormat.java:116) > 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) > {code} > Was unable to find corresponding logs. This was consistently seen via JDBC program and sqlline. > After I restarted Drillbits the issue seems to have been resolved. But wanted to report this anyway. Possible explanation is DRILL-2917 (one or more drillbits were in an inconsistent state) -- This message was sent by Atlassian JIRA (v6.3.4#6332)