Hello,
In a mapreduce job, a given map JVM will run N map tasks. Are the
configure and close methods executed for every one of these N tasks?
Or is configure executed once when the JVM starts and the close method
executed once when all N have been completed?
I have the same question for the reduce
configure and close are run for each task, mapper and reducer. The configure
and close are NOT run on the combiner class.
On Mon, Jun 22, 2009 at 9:23 AM, Saptarshi Guha wrote:
> Hello,
> In a mapreduce job, a given map JVM will run N map tasks. Are the
> configure and close methods executed for
Thank you! Just to confirm. Consider a JVM (that is being reused), has
to reduce K1,{V11,V12,V13..} and K2,{V21,V22,V23,}. Then the
configure and close methods are called once each for both K1,{V11,...}
and K2,{V2,}?
Is my understanding correct?
Once again, there is no combiner, and it ma