Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 585BB1776F for ; Sat, 18 Oct 2014 03:17:58 +0000 (UTC) Received: (qmail 81979 invoked by uid 500); 18 Oct 2014 03:17:58 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 81948 invoked by uid 500); 18 Oct 2014 03:17:58 -0000 Mailing-List: contact issues-help@drill.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.incubator.apache.org Delivered-To: mailing list issues@drill.incubator.apache.org Received: (qmail 81939 invoked by uid 99); 18 Oct 2014 03:17:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Oct 2014 03:17:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 18 Oct 2014 03:17:35 +0000 Received: (qmail 81103 invoked by uid 99); 18 Oct 2014 03:17:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Oct 2014 03:17:34 +0000 Date: Sat, 18 Oct 2014 03:17:33 +0000 (UTC) From: "Hanifi Gunes (JIRA)" To: issues@drill.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-1435) sqlline hangs when query a text file with limit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DRILL-1435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175828#comment-14175828 ] Hanifi Gunes commented on DRILL-1435: ------------------------------------- The InterruptedException in the bug report is a little misleading since it is not the root cause. I would recommend folks here to scroll back in the drill log to find out the root cause when hit to InterruptedException. In case of parquet, I can see InterruptedException as well as the exception above. Cheers. > sqlline hangs when query a text file with limit > ----------------------------------------------- > > Key: DRILL-1435 > URL: https://issues.apache.org/jira/browse/DRILL-1435 > Project: Apache Drill > Issue Type: Bug > Components: Functions - Drill > Affects Versions: 0.6.0 > Reporter: Chun Chang > Assignee: Hanifi Gunes > Priority: Critical > Fix For: 0.7.0 > > > code base > #Fri Sep 12 14:08:02 PDT 2014 > git.commit.id.abbrev=9e16466 > When I query a psv file with limit, sqlline frequently hangs. It sometimes comes back after a while but most of the time, it just hangs. When it hangs, I saw the InterruptedException in drill bit.log. > 11:43:23.238 [ce3297e2-8238-4f05-968f-e96550d23b10:frag:0:0 - Producer Thread] ERROR o.a.drill.exec.ops.FragmentContext - Fragment Context received failure. > java.lang.InterruptedException: null > at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2017) ~[na:1.7.0_45] > at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2052) ~[na:1.7.0_45] > at java.util.concurrent.LinkedBlockingDeque.putLast(LinkedBlockingDeque.java:393) ~[na:1.7.0_45] > at java.util.concurrent.LinkedBlockingDeque.put(LinkedBlockingDeque.java:647) ~[na:1.7.0_45] > at org.apache.drill.exec.physical.impl.producer.ProducerConsumerBatch$Producer.run(ProducerConsumerBatch.java:140) ~[drill-java-exec-0.6.0-incubating-SNAPSHOT-rebuffed.jar:0.6.0-incubating-SNAPSHOT] > at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] > sqlline just hangs: > 0: jdbc:drill:schema=dfs> select * from `tpcds/p1/store_sales.parquet` limit 1; > +-----------------+-----------------+------------+----------------+-------------+-------------+------------+-------------+-------------+------------------+-------------+-------------------+---------------+----------------+---------------------+--------------------+-----------------------+-------------------+------------+---------------+-------------+---------------------+---------------+ > | ss_sold_date_sk | ss_sold_time_sk | ss_item_sk | ss_customer_sk | ss_cdemo_sk | ss_hdemo_sk | ss_addr_sk | ss_store_sk | ss_promo_sk | ss_ticket_number | ss_quantity | ss_wholesale_cost | ss_list_price | ss_sales_price | ss_ext_discount_amt | ss_ext_sales_price | ss_ext_wholesale_cost | ss_ext_list_price | ss_ext_tax | ss_coupon_amt | ss_net_paid | ss_net_paid_inc_tax | ss_net_profit | > +-----------------+-----------------+------------+----------------+-------------+-------------+------------+-------------+-------------+------------------+-------------+-------------------+---------------+----------------+---------------------+--------------------+-----------------------+-------------------+------------+---------------+-------------+---------------------+---------------+ > | 2452603 | 71996 | 2739 | 59832 | 1659109 | 4339 | 13616 | 2 | 180 | 167289 | 60 | 80.79 | 147.03 | 89.68 | 2206.12 | 5380.8 | 4847.4 | 8821.8 | 222.22 | 2206.12 | 3174.68 | 3396.9 | -1672.72 | -- This message was sent by Atlassian JIRA (v6.3.4#6332)