Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E51EA10FB3 for ; Tue, 29 Apr 2014 15:18:32 +0000 (UTC) Received: (qmail 24595 invoked by uid 500); 29 Apr 2014 15:18:29 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 24542 invoked by uid 500); 29 Apr 2014 15:18:28 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 24530 invoked by uid 99); 29 Apr 2014 15:18:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2014 15:18:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hive.bugs@gmail.com designates 209.85.192.68 as permitted sender) Received: from [209.85.192.68] (HELO mail-qg0-f68.google.com) (209.85.192.68) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2014 15:18:21 +0000 Received: by mail-qg0-f68.google.com with SMTP id q108so130398qgd.11 for ; Tue, 29 Apr 2014 08:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZI2VtCZglrHaxkbM41ojcXZGtVJBXVHeO2h72Uvsx6s=; b=nPLjyaviOcq9vA2IG9kaNUwi+8Z8EFF+pUgJnyr2XX9CSI/Xe7TeuL9BrbVoaAp4o4 dsfGKHt4I4WVKkWQ8ZZhXPW7WpFEimokOCH8gN9pUIpETao738EBZ1kmK9gzj15RPzuD iW7exx1vcDmWD7CaSWckS7hwURDBeEXMqEx+4dwOL8pz8mRpsFPqMRKIWVPypmkmdlJd OpZlYakMtDUBG/N9dr9kbYnQ9WBixzkVi/kRv8V9zfUSi/9TPkLzB/7Zwtn2SYyIuZFy Iy/jcSaJWbrmjAidOaFxya6zLiiH70qJCu1gZ6W8tR4evWIBGub5OFE43GTHSikqaEQP sUQw== X-Received: by 10.224.47.130 with SMTP id n2mr43256440qaf.26.1398784678446; Tue, 29 Apr 2014 08:17:58 -0700 (PDT) Received: from [192.168.128.82] ([198.202.241.249]) by mx.google.com with ESMTPSA id p9sm40063061qai.22.2014.04.29.08.17.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Apr 2014 08:17:58 -0700 (PDT) Message-ID: <535FC2A9.6030502@gmail.com> Date: Tue, 29 Apr 2014 11:18:01 -0400 From: Keith User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: user@hive.apache.org Subject: Bug in Hive Partition windowing functions? References: <535FB77A.5060208@gmail.com> In-Reply-To: <535FB77A.5060208@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, we have an issue with windowing function query never completed when running against the large dataset > 25,000 rows. That is the reducer (only one) never exit and it appears stuck in an infinite loop. I looked at the Reducer counter and it never changes over the 6 hours when it gets stuck in a loop. When the data set is small < 25K rows, it runs fine. Is there any work around this issue? We tested against Hive 0.11/0.12/0.13 and the same result is the same. create table window_function_fail as select a.*, sum(case when bprice is not null then 1 else 0 end) over (partition by date,name order by otime,bprice,aprice desc ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) bidpid from large_table a; create table large_table( date string , name string , stime string , bprice decimal , aprice decimal , otime double ) ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' stored as textfile; Thanks in advance.