On Sep 30, 2006, at 3:00 PM, Albert Chern wrote:

I have noticed that the Reducer does not enforce that the key is kept
unaltered after the reduce operation.  What would happen if output
with a different key was collected?  I realize that the output would
no longer be sorted, but would it cause the job to fail?

I believe it will work fine. The collector that is passed to the reduce is just a wrapper around the SequenceFile.Writer. SequenceFile.Writer is more than willing to write unsorted files.

-- Owen

Reply via email to