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 07420370D for ; Wed, 4 May 2011 02:16:43 +0000 (UTC) Received: (qmail 76951 invoked by uid 500); 4 May 2011 02:16:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 76904 invoked by uid 500); 4 May 2011 02:16: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 76775 invoked by uid 500); 4 May 2011 02:16:42 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 76635 invoked by uid 99); 4 May 2011 02:16: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 02:16: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 02:16: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 5C411C0957 for ; Wed, 4 May 2011 02:16:03 +0000 (UTC) Date: Wed, 4 May 2011 02:16:03 +0000 (UTC) From: "Siying Dong (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <468477287.20530.1304475363374.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: ------------------------------ Status: Patch Available (was: Open) > 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, HIVE-2146.2.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