hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Cordioli <cordioli.albe...@gmail.com>
Subject Find reducer for a key
Date Thu, 28 Mar 2013 08:47:52 GMT
Hi everyone,

how can i know the keys that are associated to a particular reducer in
the setup method?
Let's assume in the setup method to read from a file where each line
is a string that will become a key emitted from mappers.
For each of these lines I would like to know if the string will be a
key associated with the current reducer or not.

I read something about mapred.task.partition and mapred.task.id, but I
didn't understand the usage.


Thanks,
Alberto


--
Alberto Cordioli

Mime
View raw message