Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 9573 invoked from network); 23 May 2009 10:53:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 May 2009 10:53:57 -0000 Received: (qmail 7963 invoked by uid 500); 23 May 2009 10:54:09 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 7894 invoked by uid 500); 23 May 2009 10:54:09 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 7884 invoked by uid 99); 23 May 2009 10:54:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 May 2009 10:54:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 May 2009 10:54:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8E3C7234C004 for ; Sat, 23 May 2009 03:53:45 -0700 (PDT) Message-ID: <1509558949.1243076025568.JavaMail.jira@brutus> Date: Sat, 23 May 2009 03:53:45 -0700 (PDT) From: "He Yongqiang (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Commented: (HIVE-490) set mapred.reduce.tasks to -1 in hive-default.xml In-Reply-To: <1091228845.1242538906505.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712403#action_12712403 ] He Yongqiang commented on HIVE-490: ----------------------------------- It seems there are some misunderstanding on the configure parameter hive.exec.reducers.max. Some one please help me confirm it. {noformat} + + hive.exec.reducers.max + 999 + max number of reducers will be used. If it exceeds the one specified in the configuration parameter + mapred.reduce.tasks, hive will use the one specified in mapred.reduce.tasks. + {noformat} should the description be: {noformat} max number of reducers will be used. If the one specified in the configuration parameter mapred.reduce.tasks is negative, hive will use this one as the max number of reducers when automatically determine number of reducers. {noformat} > set mapred.reduce.tasks to -1 in hive-default.xml > ------------------------------------------------- > > Key: HIVE-490 > URL: https://issues.apache.org/jira/browse/HIVE-490 > Project: Hadoop Hive > Issue Type: Bug > Components: Clients > Reporter: Joydeep Sen Sarma > Attachments: hive-490-2009-05-23-2.patch, hive-490-2009-05-23-3.patch, hive-490-2009-05-23.patch > > > this is profoundly irritating. we can estimate reducers. but since hadoop-default.xml sets this to '1' - by default we don't. if we expect most users to set this to -1 - then we might as well set it to -1 ourselves. > to not shoot ourselves in the foot - we might want to cap number of reducers based on cluster size (like 2*Nodes). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.