Enable cgroups

Control groups (cgroups) in YARN manage Linux container CPU scheduling and resource isolation across your cluster using host-level and Cloudera Manager configurations

cgroups is a Linux kernel feature used in YARN to manage Linux container CPU scheduling and resource isolation across a cluster. Supported on operating systems such as CentOS, RHEL, SUSE, and Ubuntu, cgroups can be enabled through host-level and YARN service configurations in .

Depending on your operating system, enablement follows one of the following two versions:
  • cgroups v1, the legacy default on RHEL 7, RHEL 8, and older Ubuntu releases, requires manually creating cgroup directory hierarchies and setting ownership on every reboot prior to starting the NodeManager.
  • cgroups v2, the default on RHEL 9 and Ubuntu 22.04 and later, delegates cgroup hierarchy management directly to the operating system without manual directory creation.