Configure CPU scheduling and isolation

You can configure CPU scheduling on your cluster to allocate the best possible nodes having the required CPU resources for application containers.

  1. In Cloudera Manager, select the YARN service.
  2. Click the Configuration tab.
  3. Search for Resource Calculator Class.
  4. Select the org.apache.hadoop.yarn.util.resource.DominantResourceCalculator option.
  5. Search for yarn.nodemanager.resource.cpu-vcores and set the number of vcores to match the number of physical CPU cores on the NodeManager host by providing the number of physical cores.