Setting the number of Hadoop machines using java code – Stack …
By Yahia Zakaria
I want to run my hadoop jar using 5 of them only without changing in ‘slaves’ file. Setting the number of maps to 5 does not ensure that the code will run on 5 machines, right ? I want to set the number of machines that the hadoop job will run. (more)