Criteria for Map Slot Calculation

MapR Hadoop sets the number of map slots to the lowest value that results from the following memory, CPU, and disk calculations:
  • Memory calculation = (0.4* memory available to process MapReduce v1 tasks)/ memory for each map slot
  • CPU calculation:
    • If # CPUs on the node > 2, then CPU calculation is = number of CPU on the node – the number of CPUs assigned to MapR-FS. Note: The number of CPUs available to the MapR-FS is 4 for an Enterprise Database Edition installation. Otherwise, the value is 2.
    • If # CPUs on the node <= 2, the CPU calculation = 1.
  • Disk calculation= 2 * the number of disks available to MapR-FS