The customary practice is to have your Reducer.reduce method handle the
filtering if you are reducing your output.
or the Mapper.map method if you are not.
On Wed, May 13, 2009 at 1:57 PM, Asim wrote:
> Hi,
>
> I wish to output only selective records to the output files based on
> keys. Is it po
setOutputKeyClass let you specify the output key type.
For outputting selective keys, you need to call OutputCollector#collect
for only those keys. If using new map reduce API, need to call
Context#write.
- Sharad
Asim wrote:
Hi,
I wish to output only selective records to the output files b
Hi,
I wish to output only selective records to the output files based on
keys. Is it possible to selectively write keys by setting
setOutputKeyClass. Kindly let me know.
Regards,
Asim