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 6F22417A9F for ; Mon, 27 Oct 2014 23:30:01 +0000 (UTC) Received: (qmail 50328 invoked by uid 500); 27 Oct 2014 23:30:01 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 50299 invoked by uid 500); 27 Oct 2014 23:30:01 -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 50290 invoked by uid 99); 27 Oct 2014 23:30:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 23:30:01 +0000 X-ASF-Spam-Status: No, hits=-2000.6 required=5.0 tests=ALL_TRUSTED,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; Mon, 27 Oct 2014 23:29:38 +0000 Received: (qmail 48419 invoked by uid 99); 27 Oct 2014 23:29:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 23:29:36 +0000 Date: Mon, 27 Oct 2014 23:29:36 +0000 (UTC) From: "Chun Chang (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=14186023#comment-14186023 ] Chun Chang commented on DRILL-1435: ----------------------------------- verified fix: #Mon Oct 27 16:05:10 PDT 2014 git.commit.id.abbrev=807c476 0: jdbc:drill:schema=dfs.drillTestDir> select * from `tpcds/parquet/s1/store_sales` 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 | +-----------------+-----------------+------------+----------------+-------------+-------------+------------+-------------+-------------+------------------+-------------+-------------------+---------------+----------------+---------------------+--------------------+-----------------------+-------------------+------------+---------------+-------------+---------------------+---------------+ 1 row selected (0.986 seconds) > 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: Steven Phillips > Priority: Critical > Fix For: 0.7.0 > > Attachments: DRILL-1435.1.patch.txt > > > 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)