You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Benjamin Teke (Jira)" <ji...@apache.org> on 2024/12/10 10:21:00 UTC

[jira] [Created] (YARN-11743) Cgroup v2 support should fall back to v1 when there are no v2 controllers

Benjamin Teke created YARN-11743:
------------------------------------

             Summary: Cgroup v2 support should fall back to v1 when there are no v2 controllers
                 Key: YARN-11743
                 URL: https://issues.apache.org/jira/browse/YARN-11743
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: yarn
            Reporter: Benjamin Teke


Cgroup v1/v2 mixed mode support was introduced in YARN-11692, however it does not support an edgecase where NM has the cgroup v2 support enabled (using {{yarn.nodemanager.linux-container-executor.cgroups.v2.enabled}} set to true), but there are only cgroup v1 controllers mounted. In larger clusters there is a chance that some part of the cluster is already on newer OSes with cgroup v2 as a default, and others are still using v1. 

Currently trying to launch an NM with cgroup v2 support enabled will fail if there are no cgroup.controllers file present.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org