hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <omal...@apache.org>
Subject Re: Partitioner in Hadoop 0.20
Date Wed, 04 Aug 2010 16:30:17 GMT

On Aug 4, 2010, at 8:38 AM, David Rosenstrauch wrote:

> Anyone know if there's any particular reason why the new Partitioner  
> class doesn't implement JobConfigurable?  (And, if not, whether  
> there's any plans to fix this omission?)  We're working on a  
> somewhat complex partitioner, and it would be extremely helpful to  
> be able to pass it some parms via the jobconf.

The short answer is that it doesn't need to. If you make your  
partitioner either Configured or JobConfigurable, it will be  
configured. The API class doesn't depend on it precisely because it is  
not required for all partitioners.

-- Owen

View raw message