multiple mappers mean multiple jobs, which means you'll have to run 2 jobs on the same data, with the MultipleOutputs and MultipleOutputFormat you can do that in one pass form a single Mapper.
On Wed, Jul 16, 2008 at 3:26 AM, Khanh Nguyen <[EMAIL PROTECTED]> wrote: > Thank you very much. Someone suggested I could just use multiple > mapper. Would that work better (easier?) ? > > -k > > On Mon, Jul 14, 2008 at 11:59 PM, Alejandro Abdelnur <[EMAIL PROTECTED]> > wrote: >> check MultipleOutputFormat and MultipleOutputs (this has been >> committed to the trunk last week) >> >> >> On Mon, Jul 14, 2008 at 11:49 PM, Khanh Nguyen <[EMAIL PROTECTED]> wrote: >>> Hello, >>> >>> Is it possible to have more than one output collector for one map? >>> >>> My input are records of html pages. I am mapping each url to its >>> html-content and want to have two output collectors. One that maps >>> each <url, html-content> --> <url, outlinks> and another one that map >>> <url, html-content> to something else (difficult to explain). >>> >>> Please help. Thanks >>> >>> -k >>> >> >
