Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 903C92EF6 for ; Wed, 4 May 2011 00:46:42 +0000 (UTC) Received: (qmail 16395 invoked by uid 500); 4 May 2011 00:46:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 16367 invoked by uid 500); 4 May 2011 00:46:42 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 16359 invoked by uid 500); 4 May 2011 00:46:42 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 16356 invoked by uid 99); 4 May 2011 00:46:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 00:46:42 +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.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 00:46:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2A967C0504 for ; Wed, 4 May 2011 00:46:03 +0000 (UTC) Date: Wed, 4 May 2011 00:46:03 +0000 (UTC) From: "Ning Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <141453255.20317.1304469963171.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <41466411.17154.1304386023239.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HIVE-2146) Block Sampling should adjust number of reducers accordingly to make it useful MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ning Zhang updated HIVE-2146: ----------------------------- Status: Open (was: Patch Available) > Block Sampling should adjust number of reducers accordingly to make it useful > ----------------------------------------------------------------------------- > > Key: HIVE-2146 > URL: https://issues.apache.org/jira/browse/HIVE-2146 > Project: Hive > Issue Type: Bug > Reporter: Siying Dong > Assignee: Siying Dong > Attachments: HIVE-2146.1.patch > > > Now number of reducers of block sampling is not modified, so that queries like: > select c from tab tablesample(1 percent) group by c; > can generate huge number of reducers although the input is sampled to be small. > We need to shrink number of reducers to make block sampling more useful. > Since now number of reducers are determined before get splits, the way to do it probably is not clean enough, but we can do a good guess. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira