JVM reuse can be enabled by

conf.setLong("mapred.job.reuse.jvm.num.tasks", -1);


However, I do not think you can reuse variables/objects from the previous
task that ran in the JVM.

Jothi

On 6/2/09 12:01 PM, "Jianmin Woo" <jianmin_...@yahoo.com> wrote:

> It's cool to address the job overhead in JVM reuse way. You mentioned that the
> code(and variables?) are kept in JIT cache, so can we refer the variables in
> the last iteration in some way? I am really caurious how this works in coding
> level. Could you please help to point out some material/resources I can start
> to get to know the usage of this feature? Is this implemented in the current
> 0.20 version? I am pretty fresh to haoop. :-)

Reply via email to