You may write an arbitrary number of output.collect command

You may even use MultipleOutputFormat, to separate and stream the
output.collect results to additional destinations.


Caution must be taken to ensure that large numbers of files are not created,
when using MultipleOutputFormat


On Fri, Mar 27, 2009 at 2:46 AM, Amandeep Khurana <ama...@gmail.com> wrote:

> Is it possible to output multiple key value pairs from a single map
> function
> run?
>
> For example, the mapper outputing <name,phone> and <name, address>
> simultaneously...
>
> Can I write multiple output.collect(...) commands?
>
> Amandeep
>
> Amandeep Khurana
> Computer Science Graduate Student
> University of California, Santa Cruz
>



-- 
Alpha Chapters of my book on Hadoop are available
http://www.apress.com/book/view/9781430219422

Reply via email to