hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xeonmailinglist-gmail <xeonmailingl...@gmail.com>
Subject Re: trying to understand HashPartitioner
Date Wed, 18 Mar 2015 11:08:34 GMT
What tells with partition will run on which reduce task?

On 18-03-2015 09:30, xeonmailinglist-gmail wrote:
>
> Hi,
>
> I am trying to understand how |HashPartitioner.java| works. Thus, I 
> ran a mapreduce job with 5 reducers and 5 input files. I thought that 
> the output of |getPartition(K2 key, V2 value, int numReduceTasks)| was 
> the number of reduce task that |K2| and |V2| will execute. Is this 
> correct?
>
> ‚Äč
> -- 
> --

-- 
--


Mime
View raw message