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 A3664E3E2 for ; Fri, 18 Jan 2013 04:54:17 +0000 (UTC) Received: (qmail 38584 invoked by uid 500); 18 Jan 2013 04:54:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 38279 invoked by uid 500); 18 Jan 2013 04:54:15 -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 37945 invoked by uid 500); 18 Jan 2013 04:54:15 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 37897 invoked by uid 99); 18 Jan 2013 04:54:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 04:54:15 +0000 Date: Fri, 18 Jan 2013 04:54:15 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3898) getReducersBucketing in SemanticAnalyzer may return more than the max number of reducers 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-3898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13556963#comment-13556963 ] Hudson commented on HIVE-3898: ------------------------------ Integrated in Hive-trunk-hadoop2 #71 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/71/]) HIVE-3898 getReducersBucketing in SemanticAnalyzer may return more than the max number of reducers (Kevin Wilfong via namit) (Revision 1434623) Result = FAILURE namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1434623 Files : * /hive/trunk/build-common.xml * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java * /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/VerifyNumReducersForBucketsHook.java * /hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/hooks/VerifyNumReducersHook.java * /hive/trunk/ql/src/test/queries/clientpositive/bucket_num_reducers.q * /hive/trunk/ql/src/test/queries/clientpositive/bucket_num_reducers2.q * /hive/trunk/ql/src/test/results/clientpositive/bucket_num_reducers2.q.out > getReducersBucketing in SemanticAnalyzer may return more than the max number of reducers > ---------------------------------------------------------------------------------------- > > Key: HIVE-3898 > URL: https://issues.apache.org/jira/browse/HIVE-3898 > Project: Hive > Issue Type: New Feature > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Kevin Wilfong > Assignee: Kevin Wilfong > Fix For: 0.11.0 > > Attachments: HIVE-3898.1.patch.txt, HIVE-3898.2.patch.txt > > > getReducersBucketing rounds totalFiles / maxReducers down, when it should be rounded up to the nearest integer. > E.g. if totalFiles = 60 and maxReducers = 21, > totalFiles / maxReducers = 2 > totalFiles / 2 = 30 > So the job will get 30 reducers, more than maxReducers. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira