I'm new in Hadoop and I want to limit allocated cpu cores in mapreduce jobs. But when I've used below configuration, I still see allocated cpu as 120 cores. How to limit allocated cpu cores in Hadoop? I tried this solution but it didn't work.
Here is my conf settings:
Configuration conf = new Configuration ();
conf.set("mapreduce.map.cpu.vcores","40");
conf.set("mapreduce.reduce.cpu.vcores","40");
Hadoop version: 2.6.0