Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD594D47D for ; Mon, 5 Nov 2012 19:16:13 +0000 (UTC) Received: (qmail 92099 invoked by uid 500); 5 Nov 2012 19:16:13 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 92040 invoked by uid 500); 5 Nov 2012 19:16:12 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 91993 invoked by uid 99); 5 Nov 2012 19:16:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 19:16:12 +0000 Date: Mon, 5 Nov 2012 19:16:12 +0000 (UTC) From: "Jason Lowe (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <809489181.69933.1352142972934.JavaMail.jiratomcat@arcas> In-Reply-To: <775138650.69925.1352142852470.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (MAPREDUCE-4771) KeyFieldBasedPartitioner not partitioning properly when configured 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/MAPREDUCE-4771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490838#comment-13490838 ] Jason Lowe commented on MAPREDUCE-4771: --------------------------------------- The regression from 1.x occurs because KeyFieldBasedPartitioner implements Configurable and JobConfigurable. In 1.x it only implemented JobConfigurable, so it was only configured once. > KeyFieldBasedPartitioner not partitioning properly when configured > ------------------------------------------------------------------ > > Key: MAPREDUCE-4771 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-4771 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 0.23.3, 2.0.1-alpha > Reporter: Jason Lowe > Assignee: Jason Lowe > > Relative to Hadoop 0.20/1.x, KeyFieldBasedPartitioner is not distributing across partitions properly when configured. This is related to the double-configure issue as described in HADOOP-7425. KeyFieldBasedPartitioner is getting configured twice, and that ends up duplicating the keyspecs and causing the keys to be hashed twice. > KeyFieldBasedPartitioner should not duplicate keyspecs when configured twice. -- 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