Jan 8, 2020 in Big Data | Hadoop
Q:

How to configure Hadoop to reuse JVM for mappers?

1 Answer

0 votes
Jan 8, 2020

To configure Hadoop to reuse JVM for mappers, we just need to add entry in the configuration file: $HADOOP_HOME/conf/mapred-site.xml

<property>
<name>mapred.job.reuse.jvm.num.tasks</name>
<value>-1</value>
</property>

We need to specify a number value how many times the JVM is to be reused (default is 1), or one can set to -1 for no limit on the reuse of JVM.

Related questions

0 votes
Nov 8, 2020 in Hadoop
  • #mapreduce-job
0 votes
Jan 26, 2020 in Big Data | Hadoop
+1 vote
Feb 23, 2020 in Big Data | Hadoop
...