tags:

views:

10

answers:

1

Hi Everyone, I am having some problem with naming the output file of each reduce task with the partition number. How am I going to name the output file with that partition number? I have looked to the MultipleTextOutputFormat. It can generate a new file with the name of my choice for each key. But I want to name the output file for each partition with the name of my choice i.e. with the partition number. Please help me in this regard.

Thanks

A: 

You may need to subclass OutputFormat class and override few methods in it to achieve solution.

Harsha Hulageri