I know we can set the property "mapred.job.reuse.jvm.num.tasks" to re-use JVM. My questions are: (1) how to decide the number of tasks to be set here, -1 or some other positive integers? (2) is it a good idea to already reuse JVMs and set this property to the value of -1 in mapreduce jobs? Thank you very much!
![reuse JVM in Hadoop mapreduce jobs](https://cdn-ak-scissors.b.st-hatena.com/image/square/98d6f053a97a87156775f60757c60865d0f2c47d/height=288;version=1;width=512/https%3A%2F%2Fcdn.sstatic.net%2FSites%2Fstackoverflow%2FImg%2Fapple-touch-icon%402.png%3Fv%3D73d79a89bded)