Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How we can configure Hadoop to reuse JVM for mappers?


What I have tried:

I am not able to
configure Hadoop to reuse JVM for mappers
Posted
Updated 20-Aug-18 2:12am

1 solution

"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.
"


Read more about Hadoop follow this link Hadoop Tutorials Archives - DataFlair[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900