MultipleOutputs is still available in the new API, and has not been
deprecated, and was recently backported into the 1.0.1 release for
consumption. What release/distribution of Apache Hadoop are you using?

Also the stable API was undeprecated recently and we'll continue to support
it through 0.23 as well.

On Tue, Mar 13, 2012 at 1:58 AM, W.P. McNeill <[email protected]> wrote:

> I have an algorithm that runs multiple iterations of a Hadoop job. Each
> iteration produces two kinds of output: stuff that is "done" and gets
> written out to the side and stuff that is "not-done" and gets fed back into
> the next iteration. The reducer makes this distinction. The algorithm
> completes when an iteration has no "not-done" output.
>
> Basically what I need is two different output channels for my reducer. What
> is currently the best way to do this in Hadoop. I know the old API had a
> MultipleOutputs class, but I think that's deprecated now. I have been
> creating and populating the "done" sequence files directly, but I rather
> have the Hadoop framework do this for me to save on work and avoid name
> collisions that I haven't anticipated.
>



-- 
Harsh J

Reply via email to