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 2B7123900 for ; Tue, 3 May 2011 01:33:44 +0000 (UTC) Received: (qmail 9620 invoked by uid 500); 3 May 2011 01:33:43 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 9595 invoked by uid 500); 3 May 2011 01:33:43 -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 9549 invoked by uid 500); 3 May 2011 01:33:43 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 9530 invoked by uid 99); 3 May 2011 01:33:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 01:33:43 +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; Tue, 03 May 2011 01:33:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 354AABE62F for ; Tue, 3 May 2011 01:33:04 +0000 (UTC) Date: Tue, 3 May 2011 01:33:04 +0000 (UTC) From: "Siying Dong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1981452083.17171.1304386384214.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 ] Siying Dong updated HIVE-2146: ------------------------------ Attachment: HIVE-2146.1.patch > 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