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 0F814108A1 for ; Thu, 25 Jul 2013 08:02:24 +0000 (UTC) Received: (qmail 24364 invoked by uid 500); 25 Jul 2013 08:02:22 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 24111 invoked by uid 500); 25 Jul 2013 08:02:21 -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 24100 invoked by uid 99); 25 Jul 2013 08:02:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 08:02:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 08:02:14 +0000 Received: by mail-ob0-f176.google.com with SMTP id v19so830915obq.35 for ; Thu, 25 Jul 2013 01:01:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=I0w4EVs0SKHbNd8/WbXgkyjvLMUZnisxAcC2XSPg198=; b=D6nlNe1b4JRz5ZxztsbR8mt65xPCvMqSw7UYfiG7JYIXkrTPIiYdHv/EtqDZ+MCwnC bCBrAWEDJop++cRB8vcdTsQglL7iUTamMSAclU3+RcLWgu1HC7QVjUgN2FNtNT+DGSLq 2xjJNhJ1C/pQV77+xS4tWhZdg2cupsvTdmI5JfVPnwS4lPpF5UWAfi30Qw5Oc/fe0uVs f/s5YKGV5muMBxIgKyIcL/WMQYNVlKOt2NBmHWqAMLI5nX+LRLqv0EKxfJoeKnDr3kuy nrCLXM046osQ+4c3gNY0SLjbZFwWLYkuUpdGlj2hxVzRmj5eBUlxzhxh8XCed9JqYapk ov2w== MIME-Version: 1.0 X-Received: by 10.182.171.7 with SMTP id aq7mr34014950obc.103.1374739292102; Thu, 25 Jul 2013 01:01:32 -0700 (PDT) Received: by 10.76.83.38 with HTTP; Thu, 25 Jul 2013 01:01:32 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Jul 2013 17:01:32 +0900 Message-ID: Subject: Re: Problem with the windowing function ntile (Exceptions) From: =?EUC-KR?B?TmF2aXO3+b3Cv+w=?= To: user@hive.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkzPoQMOsaKBLv/bPBVRTn4CRvl/akWpQw6z1diHAIleuzYu3i6IQz1jxprbywzkUA8n1jF X-Virus-Checked: Checked by ClamAV on apache.org I've booked this and attached patch for it. https://issues.apache.org/jira/browse/HIVE-4932 Could you test with that? thanks. 2013/7/25 Lars Francke : > We're still being bitten by this problem without a workaround. Does > anyone have an idea? > > Thanks, > Lars > > On Wed, Jul 17, 2013 at 11:24 PM, Lars Francke wrote: >> Hi, >> >> I'm running a query like this: >> >> CREATE TABLE foo >> STORED AS ORC >> AS >> SELECT >> id, >> season, >> amount, >> ntile(10) >> OVER ( >> PARTITION BY season >> ORDER BY amount DESC >> ) >> FROM bar; >> >> On a small enough dataset that works fine but when switching to a >> larger sample we're seeing exceptions like this: >> >> "Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Reset on >> PersistentByteBasedList not supported" >> >> Looking at the code (without really understanding it) we tried setting: >> SET hive.ptf.partition.persistence='org.apache.hadoop.hive.ql.exec.PTFPersistence$PartitionedByteBasedList'; >> >> because that List supports reset but we are seeing a >> ClassNotFoundException so we're doing that wrong. >> >> Next try was setting hive.ptf.partition.persistence.memsize higher >> which worked but first of all we don't really understand what all of >> that stuff is doing and second of all we fear that it just might break >> down again. >> >> Any hints as to what that error really means and how to deal with it >> would be greatly appreciated. >> >> Thanks! >> >> Lars