Return-Path: Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: (qmail 35663 invoked from network); 14 Aug 2009 16:31:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Aug 2009 16:31:10 -0000 Received: (qmail 97832 invoked by uid 500); 14 Aug 2009 16:31:17 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 97776 invoked by uid 500); 14 Aug 2009 16:31:17 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 97764 invoked by uid 99); 14 Aug 2009 16:31:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 16:31:17 +0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=SPF_NEUTRAL,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.145.54.171] (HELO mrout1.yahoo.com) (216.145.54.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Aug 2009 16:31:06 +0000 Received: from [10.72.182.16] (milkbuild-lm.corp.yahoo.com [10.72.182.16]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id n7EGUHxl082971 for ; Fri, 14 Aug 2009 09:30:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=user-agent:date:subject:from:to:message-id:thread-topic: thread-index:in-reply-to:mime-version:content-type:content-transfer-encoding; b=l9Q90uaEWjfImvZDMpM1tzfqsgitq8rpR1aoxyvtj2rgSk8krb2FbFPplCu0hjDa User-Agent: Microsoft-Entourage/12.19.0.090515 Date: Fri, 14 Aug 2009 09:30:17 -0700 Subject: Re: org.apache.hadoop.mapreduce.Partitioner access to JobConfiguration From: Julien Le Dem To: Message-ID: Thread-Topic: org.apache.hadoop.mapreduce.Partitioner access to JobConfiguration Thread-Index: AcocOqeoG4biZmFH7EWEJMhQATudsQAwdo7g In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Replying to myself (I should read the archive): On Tue, Jul 14, 2009 at 5:28 AM, Tom White wrote: > Hi Jianmin, > > Sorry - I (incorrectly) assumed you were using the old API. > Partitioners don't yet work with the new API (see > https://issues.apache.org/jira/browse/MAPREDUCE-565). MAPREDUCE-565 just went in, so new API partitioners will be fixed in 0.20.1, which will likely come out next week. -- Owen On 8/13/09 10:22 AM, "Julien Le Dem" wrote: > I'm looking at hadoop 0.18 vs 0.20. > Why doesn't Partitioner have a setup(JobContext) method ? > It seem before it used to be a JobConfigurable. > Parameters can be passed statically by the Mapper but it's not ideal. > Someone can enlighten me ? > Julien > >